public class SemanticHandler extends AbstractHandler implements StartTagHandler
| Constructor and Description |
|---|
SemanticHandler(Jep jep,
MathMLDocumentHandler mdh) |
| Modifier and Type | Method and Description |
|---|---|
void |
endDoc()
Called at the end of the document.
|
java.lang.Object |
handle(StackFrame frame,
org.xml.sax.Locator loc)
Transform the element, called when a closing tag is encountered.
|
void |
start(StackFrame frame,
org.xml.sax.Locator loc)
Called when a starting tag is encountered.
|
void |
startDoc()
Called at the start of the document.
|
convertChildrenToNodes, convertToNode, getFt, getJep, getNf, getNumf, getOt, jepNodesAsArray, jepNodesToFlatArray, jepNodesToFlatListpublic SemanticHandler(Jep jep, MathMLDocumentHandler mdh)
jep - mdh - public java.lang.Object handle(StackFrame frame, org.xml.sax.Locator loc) throws org.xml.sax.SAXParseException
TagHandlerhandle in interface TagHandlerframe - StackFrame representing the elementloc - location in inputorg.xml.sax.SAXParseExceptionpublic void endDoc()
throws org.xml.sax.SAXException
StartTagHandlerendDoc in interface StartTagHandlerorg.xml.sax.SAXExceptionpublic void start(StackFrame frame, org.xml.sax.Locator loc) throws org.xml.sax.SAXParseException
StartTagHandlerstart in interface StartTagHandlerorg.xml.sax.SAXParseExceptionpublic void startDoc()
throws org.xml.sax.SAXException
StartTagHandlerstartDoc in interface StartTagHandlerorg.xml.sax.SAXExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep