public class XmlRpcRequestParser extends RecursiveTypeParserImpl
XmlRpcClient
's
request.cfg
Constructor and Description |
---|
XmlRpcRequestParser(XmlRpcStreamConfig pConfig,
TypeFactory pTypeFactory)
Creates a new instance, which parses a clients request.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addResult(Object pResult) |
void |
characters(char[] pChars,
int pOffset,
int pLength) |
void |
endElement(String pURI,
String pLocalName,
String pQName) |
String |
getMethodName()
Returns the method name being invoked.
|
List |
getParams()
Returns the parameter list.
|
void |
startDocument() |
void |
startElement(String pURI,
String pLocalName,
String pQName,
org.xml.sax.Attributes pAttrs) |
endPrefixMapping, endValueTag, ignorableWhitespace, processingInstruction, skippedEntity, startPrefixMapping, startValueTag
endDocument, getDocumentLocator, getResult, isEmpty, setDocumentLocator, setResult
public XmlRpcRequestParser(XmlRpcStreamConfig pConfig, TypeFactory pTypeFactory)
pConfig
- The client configuration.pTypeFactory
- The type factory.protected void addResult(Object pResult)
addResult
in class RecursiveTypeParserImpl
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class RecursiveTypeParserImpl
org.xml.sax.SAXException
public void characters(char[] pChars, int pOffset, int pLength) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class RecursiveTypeParserImpl
org.xml.sax.SAXException
public void startElement(String pURI, String pLocalName, String pQName, org.xml.sax.Attributes pAttrs) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class RecursiveTypeParserImpl
org.xml.sax.SAXException
public void endElement(String pURI, String pLocalName, String pQName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class RecursiveTypeParserImpl
org.xml.sax.SAXException
public String getMethodName()
public List getParams()
Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.