Class RootHandler

  • All Implemented Interfaces:
    TagHandler

    public class RootHandler
    extends SpecialFunctionHandler
    Handles: <apply><root/>arg</apply> <apply><root/><degree><cn>3</cn></degree>arg</apply>
    • Constructor Summary

      Constructors 
      Constructor Description
      RootHandler()  
    • Constructor Detail

      • RootHandler

        public RootHandler()
    • 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 class SpecialFunctionHandler
        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 this
        loc - provides information on the location in the xml document.
        Returns:
        the resulting Node representing the function.
        Throws:
        org.xml.sax.SAXParseException
        ParseException