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.DOMBuilderprivate static final DocumentBuilderFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentHandlerReturns a content handler for parsing the actual contents.Returns the parsed object.protected StringReturns the outer node name.Methods inherited from class ExtParser
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
-
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:ExtParserReturns the outer node name.- Specified by:
getTagNamein classExtParser
-
getExtHandler
Description copied from class:ExtParserReturns a content handler for parsing the actual contents.- Specified by:
getExtHandlerin 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:TypeParserReturns the parsed object.- Returns:
- The parameter or result object.
-