org.apache.xmlrpc.parser

Class XmlRpcRequestParser

public class XmlRpcRequestParser extends RecursiveTypeParserImpl

A SAX parser for an {@link org.apache.xmlrpc.client.XmlRpcClient}'s request.
Constructor Summary
XmlRpcRequestParser(XmlRpcStreamConfig pConfig, TypeFactory pTypeFactory)
Creates a new instance, which parses a clients request.
Method Summary
protected voidaddResult(Object pResult)
voidcharacters(char[] pChars, int pOffset, int pLength)
voidendElement(String pURI, String pLocalName, String pQName)
StringgetMethodName()
Returns the method name being invoked.
ListgetParams()
Returns the parameter list.
voidstartDocument()
voidstartElement(String pURI, String pLocalName, String pQName, Attributes pAttrs)

Constructor Detail

XmlRpcRequestParser

public XmlRpcRequestParser(XmlRpcStreamConfig pConfig, TypeFactory pTypeFactory)
Creates a new instance, which parses a clients request.

Parameters: pConfig The client configuration. pTypeFactory The type factory.

Method Detail

addResult

protected void addResult(Object pResult)

characters

public void characters(char[] pChars, int pOffset, int pLength)

endElement

public void endElement(String pURI, String pLocalName, String pQName)

getMethodName

public String getMethodName()
Returns the method name being invoked.

Returns: Requested method name.

getParams

public List getParams()
Returns the parameter list.

Returns: Parameter list.

startDocument

public void startDocument()

startElement

public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.