org.apache.xmlrpc.parser
Class XmlRpcRequestParser
java.lang.Object
org.apache.xmlrpc.parser.TypeParserImpl
org.apache.xmlrpc.parser.RecursiveTypeParserImpl
org.apache.xmlrpc.parser.XmlRpcRequestParser
- All Implemented Interfaces:
- TypeParser, ContentHandler
public class XmlRpcRequestParser
- extends RecursiveTypeParserImpl
A SAX parser for an XmlRpcClient
's
request.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
addResult
protected void addResult(Object pResult)
- Specified by:
addResult
in class RecursiveTypeParserImpl
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class RecursiveTypeParserImpl
- Throws:
SAXException
characters
public void characters(char[] pChars,
int pOffset,
int pLength)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class RecursiveTypeParserImpl
- Throws:
SAXException
startElement
public void startElement(String pURI,
String pLocalName,
String pQName,
Attributes pAttrs)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class RecursiveTypeParserImpl
- Throws:
SAXException
endElement
public void endElement(String pURI,
String pLocalName,
String pQName)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class RecursiveTypeParserImpl
- Throws:
SAXException
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.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.