de.tilman.mathParser.mathMLParser
Class MathMLParserOld2
java.lang.Object
de.tilman.mathParser.mathMLParser.MathMLParserOld2
- public class MathMLParserOld2
- extends java.lang.Object
- Author:
- Tilman Walther, Martin Wilke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMENT_PREFIX
final java.lang.String COMMENT_PREFIX
- See Also:
- Constant Field Values
PH_BLOCK
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
substitutions
protected java.util.Hashtable substitutions
result
protected java.lang.StringBuffer result
strBuf
protected java.lang.StringBuffer strBuf
tagBuf
protected java.lang.StringBuffer tagBuf
startTag
protected java.lang.String startTag
pos
protected int pos
inside
protected boolean inside
tagBuf2
protected java.lang.StringBuffer tagBuf2
MathMLParserOld2
public MathMLParserOld2()
throws java.io.FileNotFoundException,
java.io.IOException
parse
public java.lang.String parse(java.lang.StringBuffer strBuf)
parseArea
private java.lang.String parseArea(int areaEnd)
skipToNextBlock
private void skipToNextBlock()
readTag
private void readTag()
skipClosingTag
private void skipClosingTag()
getBlockEnd
private int getBlockEnd(java.lang.String startTag,
java.lang.String endTag)
getSubstitutionTable
private java.util.Hashtable getSubstitutionTable(java.lang.String filePath)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException