Class NodeParser

java.lang.Object
org.apache.xmlrpc.parser.ExtParser
org.apache.xmlrpc.parser.NodeParser
All Implemented Interfaces:
TypeParser, ContentHandler

public class NodeParser extends ExtParser
A parser for DOM document.
  • Field Details

    • dbf

      private static final DocumentBuilderFactory dbf
    • builder

      private final org.apache.ws.commons.serialize.DOMBuilder builder
  • Constructor Details

    • NodeParser

      public NodeParser()
  • Method Details

    • getTagName

      protected String getTagName()
      Description copied from class: ExtParser
      Returns the outer node name.
      Specified by:
      getTagName in class ExtParser
    • getExtHandler

      protected ContentHandler getExtHandler() throws SAXException
      Description copied from class: ExtParser
      Returns a content handler for parsing the actual contents.
      Specified by:
      getExtHandler in class ExtParser
      Returns:
      A SAX handler for parsing the XML inside the outer ex:foo element.
      Throws:
      SAXException - Creating the handler failed.
    • getResult

      public Object getResult()
      Description copied from interface: TypeParser
      Returns the parsed object.
      Returns:
      The parameter or result object.