org.apache.xmlrpc.parser
Class ObjectArrayParser

java.lang.Object
  extended by org.apache.xmlrpc.parser.TypeParserImpl
      extended by org.apache.xmlrpc.parser.RecursiveTypeParserImpl
          extended by org.apache.xmlrpc.parser.ObjectArrayParser
All Implemented Interfaces:
TypeParser, org.xml.sax.ContentHandler

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, org.apache.ws.commons.util.NamespaceContextImpl pContext, TypeFactory pFactory)
          Creates a new instance.
 
Method Summary
protected  void addResult(java.lang.Object pValue)
           
 void endElement(java.lang.String pURI, java.lang.String pLocalName, java.lang.String pQName)
           
 void startDocument()
           
 void startElement(java.lang.String pURI, java.lang.String pLocalName, java.lang.String pQName, org.xml.sax.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
 

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 org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class RecursiveTypeParserImpl
Throws:
org.xml.sax.SAXException

addResult

protected void addResult(java.lang.Object pValue)
Specified by:
addResult in class RecursiveTypeParserImpl

endElement

public void endElement(java.lang.String pURI,
                       java.lang.String pLocalName,
                       java.lang.String pQName)
                throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class RecursiveTypeParserImpl
Throws:
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String pURI,
                         java.lang.String pLocalName,
                         java.lang.String pQName,
                         org.xml.sax.Attributes pAttrs)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class RecursiveTypeParserImpl
Throws:
org.xml.sax.SAXException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.