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,
org.xml.sax.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 org.xml.sax.SAXException
org.xml.sax.SAXException
protected abstract void addResult(Object pResult) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void endValueTag() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class TypeParserImpl
org.xml.sax.SAXException
public void endElement(String pURI, String pLocalName, String pQName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void startElement(String pURI, String pLocalName, String pQName, org.xml.sax.Attributes pAttrs) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void characters(char[] pChars, int pOffset, int pLength) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class TypeParserImpl
org.xml.sax.SAXException
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
ignorableWhitespace
in class TypeParserImpl
org.xml.sax.SAXException
public void processingInstruction(String pTarget, String pData) throws org.xml.sax.SAXException
TypeParserImpl
processingInstruction
in interface org.xml.sax.ContentHandler
processingInstruction
in class TypeParserImpl
org.xml.sax.SAXException
public void skippedEntity(String pEntity) throws org.xml.sax.SAXException
TypeParserImpl
skippedEntity
in interface org.xml.sax.ContentHandler
skippedEntity
in class TypeParserImpl
org.xml.sax.SAXException
public void startPrefixMapping(String pPrefix, String pURI) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
startPrefixMapping
in class TypeParserImpl
org.xml.sax.SAXException
public void endPrefixMapping(String pPrefix) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
endPrefixMapping
in class TypeParserImpl
org.xml.sax.SAXException
Copyright © 2001–2016. All rights reserved.