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,
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 SAXException
startDocument
in interface ContentHandler
startDocument
in class RecursiveTypeParserImpl
SAXException
public void characters(char[] pChars, int pOffset, int pLength) throws SAXException
characters
in interface ContentHandler
characters
in class RecursiveTypeParserImpl
SAXException
public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class RecursiveTypeParserImpl
SAXException
public void endElement(String pURI, String pLocalName, String pQName) throws SAXException
endElement
in interface ContentHandler
endElement
in class RecursiveTypeParserImpl
SAXException
public String getMethodName()
public List getParams()
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.