java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.xbib.content.xml.util.XMLFilterReader
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,XMLFilter,XMLReader
A XML reader which is also a filter.
Does evaluate namespaces and does not validate or import external entities or document type definitions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(InputSource input) voidsetFeature(String name, boolean value) Saxon uses setFeature, so we override it here, otherwise XmlFilterImpl will bark.Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
XMLFilterReader
public XMLFilterReader()
-
-
Method Details
-
setFeature
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException Saxon uses setFeature, so we override it here, otherwise XmlFilterImpl will bark.- Specified by:
setFeaturein interfaceXMLReader- Overrides:
setFeaturein classXMLFilterImpl- Parameters:
name- the namevalue- the value- Throws:
SAXNotRecognizedException- if SAX is not recognizedSAXNotSupportedException- if SAX is not supported
-
parse
- Specified by:
parsein interfaceXMLReader- Overrides:
parsein classXMLFilterImpl- Throws:
SAXExceptionIOException
-