Class CreateDOM_ParserEventHandler

  • All Implemented Interfaces:
    IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>

    public class CreateDOM_ParserEventHandler
    extends java.lang.Object
    implements IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
    • Constructor Detail

      • CreateDOM_ParserEventHandler

        public CreateDOM_ParserEventHandler()
    • Method Detail

      • onStart

        public void onStart()
                     throws java.lang.Exception
        Specified by:
        onStart in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
        Throws:
        java.lang.Exception
      • onStop

        public void onStop()
        Specified by:
        onStop in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
      • onRootNodeStart

        public org.w3c.dom.Node onRootNodeStart​(PXMLNode rootNode)
                                         throws java.lang.Exception
        Specified by:
        onRootNodeStart in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
        Throws:
        java.lang.Exception
      • onRootNodeEnd

        public void onRootNodeEnd​(org.w3c.dom.Node rootElement)
        Specified by:
        onRootNodeEnd in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
      • onNodeStart

        public org.w3c.dom.Node onNodeStart​(PXMLNode rootNode,
                                            org.w3c.dom.Node parentElement)
                                     throws java.lang.Exception
        Specified by:
        onNodeStart in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
        Throws:
        java.lang.Exception
      • onNodeEnd

        public void onNodeEnd​(org.w3c.dom.Node element)
                       throws java.lang.Exception
        Specified by:
        onNodeEnd in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
        Throws:
        java.lang.Exception
      • onText

        public void onText​(java.lang.String text,
                           org.w3c.dom.Node parentElement,
                           TextLocation location)
                    throws java.lang.Exception
        Specified by:
        onText in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
        Throws:
        java.lang.Exception
      • onComment

        public void onComment​(java.lang.String comment,
                              org.w3c.dom.Node parentElement,
                              TextLocation location)
                       throws java.lang.Exception
        Specified by:
        onComment in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>
        Throws:
        java.lang.Exception
      • getResult

        public org.w3c.dom.Document getResult()
        Specified by:
        getResult in interface IParserEventsHandler<org.w3c.dom.Node,​org.w3c.dom.Document>