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, org.xml.sax.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 org.xml.sax.SAXException
- Specified by:
startDocument
in interface org.xml.sax.ContentHandler
- Overrides:
startDocument
in class RecursiveTypeParserImpl
- Throws:
org.xml.sax.SAXException
characters
public void characters(char[] pChars,
int pOffset,
int pLength)
throws org.xml.sax.SAXException
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class RecursiveTypeParserImpl
- Throws:
org.xml.sax.SAXException
startElement
public void startElement(String pURI,
String pLocalName,
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
endElement
public void endElement(String pURI,
String pLocalName,
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
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-2011 Apache Software Foundation. All Rights Reserved.