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 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 voidvoidendElement(String pURI, String pLocalName, String pQName) voidvoidstartElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) Methods inherited from class RecursiveTypeParserImpl
characters, endPrefixMapping, endValueTag, ignorableWhitespace, processingInstruction, skippedEntity, startPrefixMapping, startValueTagMethods inherited from class TypeParserImpl
endDocument, getDocumentLocator, getResult, isEmpty, setDocumentLocator, setResult
-
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:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classRecursiveTypeParserImpl- Throws:
SAXException
-
addResult
- Specified by:
addResultin classRecursiveTypeParserImpl
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classRecursiveTypeParserImpl- Throws:
SAXException
-
startElement
public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classRecursiveTypeParserImpl- Throws:
SAXException
-