Class FnHandler
- java.lang.Object
-
- com.singularsys.extensions.mathml.parser.AbstractHandler
-
- com.singularsys.extensions.mathml.parser.FnHandler
-
- All Implemented Interfaces:
TagHandler
public class FnHandler extends AbstractHandler
Handles the <fn> tag. Only a single <ci> child is supported.- Author:
- Richard Morris
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
handle(StackFrame frame, org.xml.sax.Locator loc)
Expects one child which is a ASTVarNode.-
Methods inherited from class com.singularsys.extensions.mathml.parser.AbstractHandler
convertChildrenToNodes, convertToNode, getFt, getJep, getNf, getNumf, getOt, jepNodesAsArray, jepNodesToFlatArray, jepNodesToFlatList
-
-
-
-
Constructor Detail
-
FnHandler
public FnHandler(Jep jep)
-
-
Method Detail
-
handle
public java.lang.Object handle(StackFrame frame, org.xml.sax.Locator loc) throws org.xml.sax.SAXParseException
Expects one child which is a ASTVarNode. Removes the variable from the variable table.- 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
-
-