Class SelectorHandler
java.lang.Object
com.singularsys.extensions.mathml.parser.SpecialFunctionHandler
com.singularsys.extensions.mathml.parser.SelectorHandler
- All Implemented Interfaces:
TagHandler
Needed to distinguish between Unary and binary minus.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ApplyHandler ah, StackFrame frame, Locator loc) Called when closing <apply/> tag is encountered.Methods inherited from class com.singularsys.extensions.mathml.parser.SpecialFunctionHandler
handle
-
Constructor Details
-
SelectorHandler
public SelectorHandler()
-
-
Method Details
-
apply
public Node apply(ApplyHandler ah, StackFrame frame, Locator loc) throws SAXParseException, ParseException Description copied from class:SpecialFunctionHandlerCalled when closing <apply/> tag is encountered.- Specified by:
applyin 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:
SAXParseExceptionParseException
-