org.apache.xmlrpc.parser

Class ObjectArrayParser

Implemented Interfaces:
ContentHandler, TypeParser

public class ObjectArrayParser
extends RecursiveTypeParserImpl

Parser for an array of objects, as created by ObjectArraySerializer.

Field Summary

Fields inherited from class org.apache.xmlrpc.parser.RecursiveTypeParserImpl

cfg

Constructor Summary

ObjectArrayParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, TypeFactory pFactory)
Creates a new instance.

Method Summary

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

addResult, characters, endElement, endPrefixMapping, endValueTag, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping, startValueTag

Methods inherited from class org.apache.xmlrpc.parser.TypeParserImpl

characters, endDocument, endPrefixMapping, getDocumentLocator, getResult, ignorableWhitespace, isEmpty, processingInstruction, setDocumentLocator, setResult, skippedEntity, startDocument, startPrefixMapping

Constructor Details

ObjectArrayParser

public ObjectArrayParser(XmlRpcStreamConfig pConfig,
                         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

addResult

protected void addResult(Object pValue)
Overrides:
addResult in interface RecursiveTypeParserImpl

endElement

public void endElement(String pURI,
                       String pLocalName,
                       String pQName)
            throws SAXException
Overrides:
endElement in interface RecursiveTypeParserImpl

startDocument

public void startDocument()
            throws SAXException
Overrides:
startDocument in interface RecursiveTypeParserImpl

startElement

public void startElement(String pURI,
                         String pLocalName,
                         String pQName,
                         Attributes pAttrs)
            throws SAXException
Overrides:
startElement in interface RecursiveTypeParserImpl

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.