Package org.apache.xmlrpc.parser
Class NodeParser
java.lang.Object
org.apache.xmlrpc.parser.ExtParser
org.apache.xmlrpc.parser.NodeParser
- All Implemented Interfaces:
TypeParser
,ContentHandler
A parser for DOM document.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.ws.commons.serialize.DOMBuilder
private static final DocumentBuilderFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentHandler
Returns a content handler for parsing the actual contents.Returns the parsed object.protected String
Returns the outer node name.Methods inherited from class org.apache.xmlrpc.parser.ExtParser
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
dbf
-
builder
private final org.apache.ws.commons.serialize.DOMBuilder builder
-
-
Constructor Details
-
NodeParser
public NodeParser()
-
-
Method Details
-
getTagName
Description copied from class:ExtParser
Returns the outer node name.- Specified by:
getTagName
in classExtParser
-
getExtHandler
Description copied from class:ExtParser
Returns a content handler for parsing the actual contents.- Specified by:
getExtHandler
in classExtParser
- Returns:
- A SAX handler for parsing the XML inside the outer ex:foo element.
- Throws:
SAXException
- Creating the handler failed.
-
getResult
Description copied from interface:TypeParser
Returns the parsed object.- Returns:
- The parameter or result object.
-