|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlrpc.parser.TypeParserImpl
public abstract class TypeParserImpl
Abstract base implementation of a TypeParser
,
for derivation of subclasses.
Constructor Summary | |
---|---|
TypeParserImpl()
|
Method Summary | |
---|---|
void |
characters(char[] pChars,
int pOffset,
int pLength)
|
void |
endDocument()
|
void |
endPrefixMapping(String pPrefix)
|
Locator |
getDocumentLocator()
Returns the document locator. |
Object |
getResult()
Returns the parsed object. |
void |
ignorableWhitespace(char[] pChars,
int pOffset,
int pLength)
|
protected static boolean |
isEmpty(char[] pChars,
int pStart,
int pLength)
|
void |
processingInstruction(String pTarget,
String pData)
PI's are by default ignored. |
void |
setDocumentLocator(Locator pLocator)
|
void |
setResult(Object pResult)
Sets the result object. |
void |
skippedEntity(String pName)
Skipped entities raise an exception by default. |
void |
startDocument()
|
void |
startPrefixMapping(String pPrefix,
String pURI)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
---|
endElement, startElement |
Constructor Detail |
---|
public TypeParserImpl()
Method Detail |
---|
public void setResult(Object pResult)
pResult
- The result object.public Object getResult() throws XmlRpcException
TypeParser
getResult
in interface TypeParser
XmlRpcException
- Creating the result object failed.public Locator getDocumentLocator()
public void setDocumentLocator(Locator pLocator)
setDocumentLocator
in interface ContentHandler
public void processingInstruction(String pTarget, String pData) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String pName) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public void startPrefixMapping(String pPrefix, String pURI) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String pPrefix) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
protected static boolean isEmpty(char[] pChars, int pStart, int pLength)
public void characters(char[] pChars, int pOffset, int pLength) throws SAXException
characters
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |