类 AbstractXMLReader
java.lang.Object
cn.taketoday.util.xml.AbstractXMLReader
- 所有已实现的接口:
XMLReader
- 直接已知子类:
AbstractStaxXMLReader
Abstract base class for SAX
XMLReader implementations.
Contains properties as defined in XMLReader, and does not recognize any features.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma, Juergen Hoeller
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private ContentHandlerprivate DTDHandlerprivate EntityResolverprivate ErrorHandlerprivate LexicalHandler -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleangetFeature(String name) This implementation throws aSAXNotRecognizedExceptionexception for any feature outside of the "http://xml.org/sax/features/" namespace and returnsfalsefor any feature within.protected LexicalHandlergetProperty(String name) Throws aSAXNotRecognizedExceptionexception when the given property does not signify a lexical handler.voidsetContentHandler(ContentHandler contentHandler) voidsetDTDHandler(DTDHandler dtdHandler) voidsetEntityResolver(EntityResolver entityResolver) voidsetErrorHandler(ErrorHandler errorHandler) voidsetFeature(String name, boolean value) This implementation throws aSAXNotRecognizedExceptionexception for any feature outside of the "http://xml.org/sax/features/" namespace and accepts afalsevalue for any feature within.voidsetProperty(String name, Object value) Throws aSAXNotRecognizedExceptionexception when the given property does not signify a lexical handler.
-
字段详细资料
-
dtdHandler
-
contentHandler
-
entityResolver
-
errorHandler
-
lexicalHandler
-
-
构造器详细资料
-
AbstractXMLReader
AbstractXMLReader()
-
-
方法详细资料
-
setContentHandler
- 指定者:
setContentHandler在接口中XMLReader
-
getContentHandler
- 指定者:
getContentHandler在接口中XMLReader
-
setDTDHandler
- 指定者:
setDTDHandler在接口中XMLReader
-
getDTDHandler
- 指定者:
getDTDHandler在接口中XMLReader
-
setEntityResolver
- 指定者:
setEntityResolver在接口中XMLReader
-
getEntityResolver
- 指定者:
getEntityResolver在接口中XMLReader
-
setErrorHandler
- 指定者:
setErrorHandler在接口中XMLReader
-
getErrorHandler
- 指定者:
getErrorHandler在接口中XMLReader
-
getLexicalHandler
-
getFeature
This implementation throws aSAXNotRecognizedExceptionexception for any feature outside of the "http://xml.org/sax/features/" namespace and returnsfalsefor any feature within.- 指定者:
getFeature在接口中XMLReader- 抛出:
SAXNotRecognizedExceptionSAXNotSupportedException
-
setFeature
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException This implementation throws aSAXNotRecognizedExceptionexception for any feature outside of the "http://xml.org/sax/features/" namespace and accepts afalsevalue for any feature within.- 指定者:
setFeature在接口中XMLReader- 抛出:
SAXNotRecognizedExceptionSAXNotSupportedException
-
getProperty
@Nullable public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException Throws aSAXNotRecognizedExceptionexception when the given property does not signify a lexical handler. The property name for a lexical handler ishttp://xml.org/sax/properties/lexical-handler. -
setProperty
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException Throws aSAXNotRecognizedExceptionexception when the given property does not signify a lexical handler. The property name for a lexical handler ishttp://xml.org/sax/properties/lexical-handler.
-