Public Member Functions | Protected Member Functions | Private Attributes
org.apache.xmlrpc.parser.XmlRpcResponseParser Class Reference
Inheritance diagram for org.apache.xmlrpc.parser.XmlRpcResponseParser:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void endElement (String pURI, String pLocalName, String pQName) throws SAXException
Throwable getErrorCause ()
int getErrorCode ()
String getErrorMessage ()
boolean isSuccess ()
void startDocument () throws SAXException
void startElement (String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException
 XmlRpcResponseParser (XmlRpcStreamRequestConfig pConfig, TypeFactory pTypeFactory)

Protected Member Functions

void addResult (Object pResult) throws SAXException

Private Attributes

Throwable errorCause
int errorCode
String errorMessage
boolean isSuccess
int level

Detailed Description

A SAX parser for an org.apache.xmlrpc.server.XmlRpcServer's response.

Definition at line 39 of file XmlRpcResponseParser.java.


Constructor & Destructor Documentation

Creates a new instance.

Parameters:
pConfigThe response configuration.
pTypeFactoryThe type factory for creating instances of TypeParser.

Definition at line 51 of file XmlRpcResponseParser.java.


Member Function Documentation

void org.apache.xmlrpc.parser.XmlRpcResponseParser.addResult ( Object  pResult) throws SAXException [inline, protected, virtual]
void org.apache.xmlrpc.parser.XmlRpcResponseParser.endElement ( String  pURI,
String  pLocalName,
String  pQName 
) throws SAXException [inline]

Reimplemented from org.apache.xmlrpc.parser.RecursiveTypeParserImpl.

Definition at line 153 of file XmlRpcResponseParser.java.

If the response contained a fault, returns the (optional) exception.

Definition at line 235 of file XmlRpcResponseParser.java.

If the response contained a fault, returns the error code.

Returns:
The numeric error code.

Definition at line 225 of file XmlRpcResponseParser.java.

If the response contained a fault, returns the error message.

Returns:
The error message.

Definition at line 230 of file XmlRpcResponseParser.java.

Returns whether the response returned success. If so, the result object may be fetched using getResult(). Otherwise, you may use the methods getErrorCode() and getErrorMessage() to check for error reasons.

Returns:
True, if the response indicated success, false otherwise.

Definition at line 220 of file XmlRpcResponseParser.java.

void org.apache.xmlrpc.parser.XmlRpcResponseParser.startDocument ( ) throws SAXException [inline]

Reimplemented from org.apache.xmlrpc.parser.RecursiveTypeParserImpl.

Definition at line 88 of file XmlRpcResponseParser.java.

void org.apache.xmlrpc.parser.XmlRpcResponseParser.startElement ( String  pURI,
String  pLocalName,
String  pQName,
Attributes  pAttrs 
) throws SAXException [inline]

Reimplemented from org.apache.xmlrpc.parser.RecursiveTypeParserImpl.

Definition at line 96 of file XmlRpcResponseParser.java.


Member Data Documentation

Definition at line 44 of file XmlRpcResponseParser.java.

Definition at line 42 of file XmlRpcResponseParser.java.

Definition at line 43 of file XmlRpcResponseParser.java.

Definition at line 41 of file XmlRpcResponseParser.java.

Definition at line 40 of file XmlRpcResponseParser.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50