Public Member Functions | |
void | characters (char[] pChars, int pOffset, int pLength) throws SAXException |
void | endDocument () throws SAXException |
void | endPrefixMapping (String pPrefix) throws SAXException |
Locator | getDocumentLocator () |
Object | getResult () throws XmlRpcException |
void | ignorableWhitespace (char[] pChars, int pOffset, int pLength) throws SAXException |
void | processingInstruction (String pTarget, String pData) throws SAXException |
void | setDocumentLocator (Locator pLocator) |
void | setResult (Object pResult) |
void | skippedEntity (String pName) throws SAXException |
void | startDocument () throws SAXException |
void | startPrefixMapping (String pPrefix, String pURI) throws SAXException |
Static Protected Member Functions | |
static boolean | isEmpty (char[] pChars, int pStart, int pLength) |
Private Attributes | |
Locator | locator |
Object | result |
Abstract base implementation of a org.apache.xmlrpc.parser.TypeParser, for derivation of subclasses.
Definition at line 30 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.characters | ( | char[] | pChars, |
int | pOffset, | ||
int | pLength | ||
) | throws SAXException [inline] |
Reimplemented in org.apache.xmlrpc.parser.RecursiveTypeParserImpl, org.apache.xmlrpc.parser.MapParser, org.apache.xmlrpc.parser.XmlRpcRequestParser, org.apache.xmlrpc.parser.AtomicParser, and org.apache.xmlrpc.parser.ByteArrayParser.
Definition at line 80 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.endDocument | ( | ) | throws SAXException [inline] |
Definition at line 65 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.endPrefixMapping | ( | String | pPrefix | ) | throws SAXException [inline] |
Reimplemented in org.apache.xmlrpc.parser.RecursiveTypeParserImpl.
Definition at line 62 of file TypeParserImpl.java.
Locator org.apache.xmlrpc.parser.TypeParserImpl.getDocumentLocator | ( | ) | [inline] |
Returns the document locator.
Definition at line 44 of file TypeParserImpl.java.
Object org.apache.xmlrpc.parser.TypeParserImpl.getResult | ( | ) | throws XmlRpcException [inline] |
Returns the parsed object.
XmlRpcException | Creating the result object failed. |
IllegalStateException | The method was invoked before org.xml.sax.ContentHandler#endDocument. |
Implements org.apache.xmlrpc.parser.TypeParser.
Reimplemented in org.apache.xmlrpc.parser.SerializableParser.
Definition at line 38 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.ignorableWhitespace | ( | char[] | pChars, |
int | pOffset, | ||
int | pLength | ||
) | throws SAXException [inline] |
Reimplemented in org.apache.xmlrpc.parser.RecursiveTypeParserImpl, and org.apache.xmlrpc.parser.MapParser.
Definition at line 87 of file TypeParserImpl.java.
static boolean org.apache.xmlrpc.parser.TypeParserImpl.isEmpty | ( | char[] | pChars, |
int | pStart, | ||
int | pLength | ||
) | [inline, static, protected] |
Definition at line 71 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.processingInstruction | ( | String | pTarget, |
String | pData | ||
) | throws SAXException [inline] |
PI's are by default ignored.
Reimplemented in org.apache.xmlrpc.parser.RecursiveTypeParserImpl.
Definition at line 49 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.setDocumentLocator | ( | Locator | pLocator | ) | [inline] |
Definition at line 45 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.setResult | ( | Object | pResult | ) | [inline] |
Sets the result object.
pResult | The result object. |
Definition at line 37 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.skippedEntity | ( | String | pName | ) | throws SAXException [inline] |
Skipped entities raise an exception by default.
Reimplemented in org.apache.xmlrpc.parser.RecursiveTypeParserImpl.
Definition at line 54 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.startDocument | ( | ) | throws SAXException [inline] |
Reimplemented in org.apache.xmlrpc.parser.RecursiveTypeParserImpl, org.apache.xmlrpc.parser.XmlRpcResponseParser, org.apache.xmlrpc.parser.MapParser, org.apache.xmlrpc.parser.XmlRpcRequestParser, org.apache.xmlrpc.parser.ObjectArrayParser, org.apache.xmlrpc.parser.AtomicParser, and org.apache.xmlrpc.parser.ByteArrayParser.
Definition at line 68 of file TypeParserImpl.java.
void org.apache.xmlrpc.parser.TypeParserImpl.startPrefixMapping | ( | String | pPrefix, |
String | pURI | ||
) | throws SAXException [inline] |
Reimplemented in org.apache.xmlrpc.parser.RecursiveTypeParserImpl.
Definition at line 59 of file TypeParserImpl.java.
Locator org.apache.xmlrpc.parser.TypeParserImpl.locator [private] |
Definition at line 32 of file TypeParserImpl.java.
Object org.apache.xmlrpc.parser.TypeParserImpl.result [private] |
Definition at line 31 of file TypeParserImpl.java.