Package org.apache.xmlrpc.parser
Class ObjectArrayParser
java.lang.Object
org.apache.xmlrpc.parser.TypeParserImpl
org.apache.xmlrpc.parser.RecursiveTypeParserImpl
org.apache.xmlrpc.parser.ObjectArrayParser
- All Implemented Interfaces:
TypeParser
,ContentHandler
Parser for an array of objects, as created by
ObjectArraySerializer
.-
Field Summary
FieldsFields inherited from class org.apache.xmlrpc.parser.RecursiveTypeParserImpl
cfg
-
Constructor Summary
ConstructorsConstructorDescriptionObjectArrayParser
(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, TypeFactory pFactory) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
endElement
(String pURI, String pLocalName, String pQName) void
void
startElement
(String pURI, String pLocalName, String pQName, Attributes pAttrs) Methods inherited from class org.apache.xmlrpc.parser.RecursiveTypeParserImpl
characters, endPrefixMapping, endValueTag, ignorableWhitespace, processingInstruction, skippedEntity, startPrefixMapping, startValueTag
Methods inherited from class org.apache.xmlrpc.parser.TypeParserImpl
endDocument, getDocumentLocator, getResult, isEmpty, setDocumentLocator, setResult
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
-
level
private int level -
list
-
-
Constructor Details
-
ObjectArrayParser
public ObjectArrayParser(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, TypeFactory pFactory) Creates a new instance.- Parameters:
pConfig
- The request or response configuration.pContext
- The namespace context.pFactory
- The type factory.
-
-
Method Details
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classRecursiveTypeParserImpl
- Throws:
SAXException
-
addResult
- Specified by:
addResult
in classRecursiveTypeParserImpl
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classRecursiveTypeParserImpl
- Throws:
SAXException
-
startElement
public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classRecursiveTypeParserImpl
- Throws:
SAXException
-