Class MathMLContentParser

java.lang.Object
com.singularsys.extensions.mathml.MathMLContentParser

public class MathMLContentParser extends Object
Main class for the Content-MathML parser. The standard single argument constructor builds a parser with a default set of parsing rules. Other rules can be added using the various put(String, TagHandler) methods.

Various parse methods are available for parsing complete documents or fragments of mathml code. To enable mathml documents containing entities like π to be processed the setPrependMathMLEntities(boolean) method can be called, if true a simple doctype declaration defining the entities is inserted at the start of the document.

Author:
Richard Morris
See Also: