|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.xml.sax.AbstractXmlReader
public abstract class AbstractXmlReader
Abstract base class for SAX XMLReader
implementations. Contains properties as defined in XMLReader
, and does not recognize any features
setContentHandler(org.xml.sax.ContentHandler)
,
setDTDHandler(org.xml.sax.DTDHandler)
,
setEntityResolver(org.xml.sax.EntityResolver)
,
setErrorHandler(org.xml.sax.ErrorHandler)
Constructor Summary | |
---|---|
AbstractXmlReader()
|
Method Summary | |
---|---|
ContentHandler |
getContentHandler()
|
DTDHandler |
getDTDHandler()
|
EntityResolver |
getEntityResolver()
|
ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(String name)
Throws a SAXNotRecognizedException exception. |
protected LexicalHandler |
getLexicalHandler()
|
Object |
getProperty(String name)
Throws a SAXNotRecognizedException exception when the given property does not signify a lexical
handler. |
void |
setContentHandler(ContentHandler contentHandler)
|
void |
setDTDHandler(DTDHandler dtdHandler)
|
void |
setEntityResolver(EntityResolver entityResolver)
|
void |
setErrorHandler(ErrorHandler errorHandler)
|
void |
setFeature(String name,
boolean value)
Throws a SAXNotRecognizedException exception. |
void |
setProperty(String name,
Object value)
Throws a SAXNotRecognizedException exception when the given property does not signify a lexical
handler. |
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.XMLReader |
---|
parse, parse |
Constructor Detail |
---|
public AbstractXmlReader()
Method Detail |
---|
public ContentHandler getContentHandler()
getContentHandler
in interface XMLReader
public void setContentHandler(ContentHandler contentHandler)
setContentHandler
in interface XMLReader
public void setDTDHandler(DTDHandler dtdHandler)
setDTDHandler
in interface XMLReader
public DTDHandler getDTDHandler()
getDTDHandler
in interface XMLReader
public EntityResolver getEntityResolver()
getEntityResolver
in interface XMLReader
public void setEntityResolver(EntityResolver entityResolver)
setEntityResolver
in interface XMLReader
public ErrorHandler getErrorHandler()
getErrorHandler
in interface XMLReader
public void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler
in interface XMLReader
protected LexicalHandler getLexicalHandler()
public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
SAXNotRecognizedException
exception.
getFeature
in interface XMLReader
SAXNotRecognizedException
- always
SAXNotSupportedException
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException
SAXNotRecognizedException
exception.
setFeature
in interface XMLReader
SAXNotRecognizedException
- always
SAXNotSupportedException
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
SAXNotRecognizedException
exception when the given property does not signify a lexical
handler. The property name for a lexical handler is http://xml.org/sax/properties/lexical-handler
.
getProperty
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
SAXNotRecognizedException
exception when the given property does not signify a lexical
handler. The property name for a lexical handler is http://xml.org/sax/properties/lexical-handler
.
setProperty
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |