public abstract class RecursiveTypeParserImpl extends TypeParserImpl
Modifier and Type | Field and Description |
---|---|
protected XmlRpcStreamConfig |
cfg |
Modifier | Constructor and Description |
---|---|
protected |
RecursiveTypeParserImpl(XmlRpcStreamConfig pConfig,
org.apache.ws.commons.util.NamespaceContextImpl pContext,
TypeFactory pFactory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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()
Called to start a value tag.
|
endDocument, getDocumentLocator, getResult, isEmpty, setDocumentLocator, setResult
protected final XmlRpcStreamConfig cfg
protected RecursiveTypeParserImpl(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, TypeFactory pFactory)
pContext
- The namespace context.pConfig
- The request or response configuration.pFactory
- The type factory.protected void startValueTag() throws SAXException
SAXException
protected abstract void addResult(Object pResult) throws SAXException
SAXException
protected void endValueTag() throws SAXException
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class TypeParserImpl
SAXException
public void endElement(String pURI, String pLocalName, String pQName) throws SAXException
SAXException
public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException
SAXException
public void characters(char[] pChars, int pOffset, int pLength) throws SAXException
characters
in interface ContentHandler
characters
in class TypeParserImpl
SAXException
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException
ignorableWhitespace
in interface ContentHandler
ignorableWhitespace
in class TypeParserImpl
SAXException
public void processingInstruction(String pTarget, String pData) throws SAXException
TypeParserImpl
processingInstruction
in interface ContentHandler
processingInstruction
in class TypeParserImpl
SAXException
public void skippedEntity(String pEntity) throws SAXException
TypeParserImpl
skippedEntity
in interface ContentHandler
skippedEntity
in class TypeParserImpl
SAXException
public void startPrefixMapping(String pPrefix, String pURI) throws SAXException
startPrefixMapping
in interface ContentHandler
startPrefixMapping
in class TypeParserImpl
SAXException
public void endPrefixMapping(String pPrefix) throws SAXException
endPrefixMapping
in interface ContentHandler
endPrefixMapping
in class TypeParserImpl
SAXException
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.