|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 | |
---|---|
org.xml.sax.ContentHandler |
getContentHandler()
|
org.xml.sax.DTDHandler |
getDTDHandler()
|
org.xml.sax.EntityResolver |
getEntityResolver()
|
org.xml.sax.ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(java.lang.String name)
Throws a SAXNotRecognizedException exception. |
org.xml.sax.ext.LexicalHandler |
getLexicalHandler()
|
java.lang.Object |
getProperty(java.lang.String name)
Throws a SAXNotRecognizedException exception when the given property does not signify a lexical
handler. |
void |
setContentHandler(org.xml.sax.ContentHandler contentHandler)
|
void |
setDTDHandler(org.xml.sax.DTDHandler dtdHandler)
|
void |
setEntityResolver(org.xml.sax.EntityResolver entityResolver)
|
void |
setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
|
void |
setFeature(java.lang.String name,
boolean value)
Throws a SAXNotRecognizedException exception. |
void |
setLexicalHandler(org.xml.sax.ext.LexicalHandler lexicalHandler)
|
void |
setProperty(java.lang.String name,
java.lang.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 org.xml.sax.ContentHandler getContentHandler()
getContentHandler
in interface org.xml.sax.XMLReader
public void setContentHandler(org.xml.sax.ContentHandler contentHandler)
setContentHandler
in interface org.xml.sax.XMLReader
public void setDTDHandler(org.xml.sax.DTDHandler dtdHandler)
setDTDHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver
in interface org.xml.sax.XMLReader
public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
setEntityResolver
in interface org.xml.sax.XMLReader
public org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler
in interface org.xml.sax.XMLReader
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
setErrorHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.ext.LexicalHandler getLexicalHandler()
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler lexicalHandler)
public boolean getFeature(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
SAXNotRecognizedException
exception.
getFeature
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
- always
org.xml.sax.SAXNotSupportedException
public void setFeature(java.lang.String name, boolean value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
SAXNotRecognizedException
exception.
setFeature
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
- always
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.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 org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name, java.lang.Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.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 org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |