|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.xml.sax.AbstractXmlReader
org.springframework.xml.stream.AbstractStaxXmlReader
public abstract class AbstractStaxXmlReader
Abstract base class for SAX XMLReader implementations that use StAX as a basis.
AbstractXmlReader.setContentHandler(org.xml.sax.ContentHandler),
AbstractXmlReader.setDTDHandler(org.xml.sax.DTDHandler),
AbstractXmlReader.setEntityResolver(org.xml.sax.EntityResolver),
AbstractXmlReader.setErrorHandler(org.xml.sax.ErrorHandler)| Constructor Summary | |
|---|---|
AbstractStaxXmlReader()
|
|
| Method Summary | |
|---|---|
boolean |
getFeature(String name)
Throws a SAXNotRecognizedException exception. |
protected boolean |
hasNamespacePrefixesFeature()
Indicates whether the SAX feature http://xml.org/sax/features/namespaces-prefixes is turned on. |
protected boolean |
hasNamespacesFeature()
Indicates whether the SAX feature http://xml.org/sax/features/namespaces is turned on. |
void |
parse(InputSource ignored)
Parses the StAX XML reader passed at construction-time. |
void |
parse(String ignored)
Parses the StAX XML reader passed at construction-time. |
protected abstract void |
parseInternal()
Template-method that parses the StAX reader passed at construction-time. |
void |
setFeature(String name,
boolean value)
Throws a SAXNotRecognizedException exception. |
protected void |
setLocator(Location location)
Sets the SAX Locator based on the given StAX Location. |
protected void |
setStandalone(boolean standalone)
|
| Methods inherited from class org.springframework.xml.sax.AbstractXmlReader |
|---|
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLexicalHandler, getProperty, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractStaxXmlReader()
| Method Detail |
|---|
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
AbstractXmlReaderSAXNotRecognizedException exception.
getFeature in interface XMLReadergetFeature in class AbstractXmlReaderSAXNotRecognizedException - always
SAXNotSupportedException
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
AbstractXmlReaderSAXNotRecognizedException exception.
setFeature in interface XMLReadersetFeature in class AbstractXmlReaderSAXNotRecognizedException - always
SAXNotSupportedExceptionprotected boolean hasNamespacesFeature()
http://xml.org/sax/features/namespaces is turned on.
protected boolean hasNamespacePrefixesFeature()
http://xml.org/sax/features/namespaces-prefixes is turned on.
protected void setStandalone(boolean standalone)
public final void parse(InputSource ignored)
throws SAXException
InputSource is not read, but ignored.
ignored - is ignored
SAXException - A SAX exception, possibly wrapping a XMLStreamException
public final void parse(String ignored)
throws SAXException
ignored - is ignored
SAXException - A SAX exception, possibly wrapping a XMLStreamExceptionprotected void setLocator(Location location)
Locator based on the given StAX Location.
location - the locationContentHandler.setDocumentLocator(org.xml.sax.Locator)
protected abstract void parseInternal()
throws SAXException,
XMLStreamException
SAXException
XMLStreamException
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||