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
public class ObjectArrayParser extends RecursiveTypeParserImpl
Parser for an array of objects, as created byObjectArraySerializer
.
-
-
Field Summary
-
Fields inherited from class org.apache.xmlrpc.parser.RecursiveTypeParserImpl
cfg
-
-
Constructor Summary
Constructors Constructor Description ObjectArrayParser(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, TypeFactory pFactory)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addResult(Object pValue)
void
endElement(String pURI, String pLocalName, String pQName)
void
startDocument()
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
-
-
-
-
Constructor Detail
-
ObjectArrayParser
public ObjectArrayParser(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, TypeFactory pFactory)
Creates a new instance.- Parameters:
pContext
- The namespace context.pConfig
- The request or response configuration.pFactory
- The type factory.
-
-
Method Detail
-
startDocument
public void startDocument() throws SAXException
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classRecursiveTypeParserImpl
- Throws:
SAXException
-
addResult
protected void addResult(Object pValue)
- Specified by:
addResult
in classRecursiveTypeParserImpl
-
endElement
public void endElement(String pURI, String pLocalName, String pQName) throws SAXException
- 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
-
-