Class IdentifierHandler
- java.lang.Object
-
- com.singularsys.extensions.mathml.parser.AbstractHandler
-
- com.singularsys.extensions.mathml.parser.IdentifierHandler
-
- All Implemented Interfaces:
TagHandler
public class IdentifierHandler extends AbstractHandler
Converts <cn> elements into jep variable nodes with the same name.- Author:
- Richard Morris
-
-
Constructor Summary
Constructors Constructor Description IdentifierHandler(Jep jep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
handle(StackFrame frame, org.xml.sax.Locator loc)
Transform the element, called when a closing tag is encountered.-
Methods inherited from class com.singularsys.extensions.mathml.parser.AbstractHandler
convertChildrenToNodes, convertToNode, getFt, getJep, getNf, getNumf, getOt, jepNodesAsArray, jepNodesToFlatArray, jepNodesToFlatList
-
-
-
-
Constructor Detail
-
IdentifierHandler
public IdentifierHandler(Jep jep)
- Parameters:
jep
-
-
-
Method Detail
-
handle
public java.lang.Object handle(StackFrame frame, org.xml.sax.Locator loc) throws org.xml.sax.SAXParseException
Description copied from interface:TagHandler
Transform the element, called when a closing tag is encountered.- Parameters:
frame
- StackFrame representing the elementloc
- location in input- Returns:
- typically a Node, other types of objects may also be returned when the tag has a special meaning for its parent node.
- Throws:
org.xml.sax.SAXParseException
-
-