Class SelectorHandler
- java.lang.Object
-
- com.singularsys.extensions.mathml.parser.SpecialFunctionHandler
-
- com.singularsys.extensions.mathml.parser.SelectorHandler
-
- All Implemented Interfaces:
TagHandler
public class SelectorHandler extends SpecialFunctionHandler
Needed to distinguish between Unary and binary minus.
-
-
Constructor Summary
Constructors Constructor Description SelectorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
apply(ApplyHandler ah, StackFrame frame, org.xml.sax.Locator loc)
Called when closing <apply/> tag is encountered.-
Methods inherited from class com.singularsys.extensions.mathml.parser.SpecialFunctionHandler
handle
-
-
-
-
Method Detail
-
apply
public Node apply(ApplyHandler ah, StackFrame frame, org.xml.sax.Locator loc) throws org.xml.sax.SAXParseException, ParseException
Description copied from class:SpecialFunctionHandler
Called when closing <apply/> tag is encountered.- Specified by:
apply
in classSpecialFunctionHandler
- Parameters:
ah
- a reference to the ApplyHandler which provides some useful methods.frame
- the stackframe for the apply element, the children can be recovered from thisloc
- provides information on the location in the xml document.- Returns:
- the resulting Node representing the function.
- Throws:
org.xml.sax.SAXParseException
ParseException
-
-