public interface XMLFilter extends XMLReader
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See http://www.saxproject.org for further information.
一个XML过滤器就像一个XML阅读器,除了它从另一个XML阅读器获取它的事件,而不是一个XML文档或数据库的原始数据源。过滤器可以修改一个事件流,因为它们传递到最终应用程序。
的xmlfilterimpl辅助类创建SAX2过滤器提供了一个方便的基础上,通过对所有EntityResolver
,DTDHandler
,自动ContentHandler
和ErrorHandler
事件。
XMLFilterImpl
Modifier and Type | Method and Description |
---|---|
XMLReader |
getParent()
获取父阅读器。
|
void |
setParent(XMLReader parent)
设置父阅读器。
|
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.