org.apache.xmlrpc.parser
Class RecursiveTypeParserImpl
- ContentHandler, TypeParser
public abstract class RecursiveTypeParserImpl
Abstract base class of a parser, that invokes other type
parsers recursively.
protected abstract void | addResult(Object pResult)
|
void | characters(char[] pChars, int pOffset, int pLength)
|
void | endElement(String pURI, String pLocalName, String pQName)
|
void | endPrefixMapping(String pPrefix)
|
protected void | endValueTag()
|
void | ignorableWhitespace(char[] pChars, int pOffset, int pLength)
|
void | processingInstruction(String pTarget, String pData) - PI's are by default ignored.
|
void | skippedEntity(String pEntity) - Skipped entities raise an exception by default.
|
void | startDocument()
|
void | startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs)
|
void | startPrefixMapping(String pPrefix, String pURI)
|
protected void | startValueTag()
|
characters , endDocument , endPrefixMapping , getDocumentLocator , getResult , ignorableWhitespace , isEmpty , processingInstruction , setDocumentLocator , setResult , skippedEntity , startDocument , startPrefixMapping |
RecursiveTypeParserImpl
protected RecursiveTypeParserImpl(XmlRpcStreamConfig pConfig,
NamespaceContextImpl pContext,
TypeFactory pFactory)
Creates a new instance.
pConfig
- The request or response configuration.pContext
- The namespace context.pFactory
- The type factory.
addResult
protected abstract void addResult(Object pResult)
throws SAXException
characters
public void characters(char[] pChars,
int pOffset,
int pLength)
throws SAXException
- characters in interface TypeParserImpl
endElement
public void endElement(String pURI,
String pLocalName,
String pQName)
throws SAXException
endValueTag
protected void endValueTag()
throws SAXException
processingInstruction
public void processingInstruction(String pTarget,
String pData)
throws SAXException
PI's are by default ignored.
- processingInstruction in interface TypeParserImpl
skippedEntity
public void skippedEntity(String pEntity)
throws SAXException
Skipped entities raise an exception by default.
- skippedEntity in interface TypeParserImpl
startElement
public void startElement(String pURI,
String pLocalName,
String pQName,
Attributes pAttrs)
throws SAXException
startValueTag
protected void startValueTag()
throws SAXException
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.