Class SemanticHandler

    • 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.
        Specified by:
        handle in interface TagHandler
        Parameters:
        frame - StackFrame representing the element
        loc - 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
      • endDoc

        public void endDoc()
                    throws org.xml.sax.SAXException
        Description copied from interface: StartTagHandler
        Called at the end of the document.
        Specified by:
        endDoc in interface StartTagHandler
        Throws:
        org.xml.sax.SAXException
      • start

        public void start​(StackFrame frame,
                          org.xml.sax.Locator loc)
                   throws org.xml.sax.SAXParseException
        Description copied from interface: StartTagHandler
        Called when a starting tag is encountered.
        Specified by:
        start in interface StartTagHandler
        Throws:
        org.xml.sax.SAXParseException
      • startDoc

        public void startDoc()
                      throws org.xml.sax.SAXException
        Description copied from interface: StartTagHandler
        Called at the start of the document.
        Specified by:
        startDoc in interface StartTagHandler
        Throws:
        org.xml.sax.SAXException