de.tilman.mathParser.mathMLParser
Class MathMLParserOld

java.lang.Object
  extended byde.tilman.mathParser.mathMLParser.MathMLParserOld

public class MathMLParserOld
extends java.lang.Object

Author:
Tilman Walther, Martin Wilke

Field Summary
(package private) static java.lang.String COMMENT_PREFIX
           
protected  boolean insideBlock
           
(package private) static java.lang.String PH_BLOCK
           
protected  int pos
           
protected  java.lang.StringBuffer result
           
protected  java.lang.StringBuffer strBuf
           
protected  java.util.Hashtable substitutions
           
(package private) static java.lang.String SUBSTITUTIONS_FILE
           
(package private)  java.lang.StringBuffer tagBuf1
           
(package private)  java.lang.StringBuffer tagBuf2
           
protected  java.lang.StringBuffer tmpBuf
           
 
Constructor Summary
MathMLParserOld()
           
 
Method Summary
private  void addSubstitution(java.lang.String tag)
           
private  java.util.Hashtable getSubstitutionTable(java.lang.String filePath)
           
 java.lang.String parse(java.lang.StringBuffer strBuf)
           
private  java.lang.String parseArea(int areaEnd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMENT_PREFIX

static final java.lang.String COMMENT_PREFIX
See Also:
Constant Field Values

PH_BLOCK

static final java.lang.String PH_BLOCK
See Also:
Constant Field Values

SUBSTITUTIONS_FILE

static final java.lang.String SUBSTITUTIONS_FILE
See Also:
Constant Field Values

result

protected java.lang.StringBuffer result

tmpBuf

protected java.lang.StringBuffer tmpBuf

strBuf

protected java.lang.StringBuffer strBuf

substitutions

protected java.util.Hashtable substitutions

insideBlock

protected boolean insideBlock

pos

protected int pos

tagBuf1

java.lang.StringBuffer tagBuf1

tagBuf2

java.lang.StringBuffer tagBuf2
Constructor Detail

MathMLParserOld

public MathMLParserOld()
                throws java.io.FileNotFoundException,
                       java.io.IOException
Method Detail

parse

public java.lang.String parse(java.lang.StringBuffer strBuf)

parseArea

private java.lang.String parseArea(int areaEnd)

addSubstitution

private void addSubstitution(java.lang.String tag)

getSubstitutionTable

private java.util.Hashtable getSubstitutionTable(java.lang.String filePath)
                                          throws java.io.FileNotFoundException,
                                                 java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException