Package org.apache.xml.resolver.tools
Class ResolvingXMLReader
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.apache.xml.resolver.tools.ResolvingXMLFilter
org.apache.xml.resolver.tools.ResolvingXMLReader
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
,XMLFilter
,XMLReader
A SAX XMLReader that performs catalog-based entity resolution.
This class implements a SAX XMLReader that performs entity resolution using the CatalogResolver. The actual, underlying parser is obtained from a SAXParserFactory.
- Version:
- 1.0
- Author:
- Norman Walsh Norman.Walsh@Sun.COM
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
Make the parser Namespace aware?static boolean
Make the parser validating?Fields inherited from class org.apache.xml.resolver.tools.ResolvingXMLFilter
suppressExplanation
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new reader from the JAXP factory.ResolvingXMLReader
(CatalogManager manager) Construct a new reader from the JAXP factory. -
Method Summary
Methods inherited from class org.apache.xml.resolver.tools.ResolvingXMLFilter
getCatalog, notationDecl, parse, parse, processingInstruction, resolveEntity, startElement, unparsedEntityDecl
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, warning
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.ContentHandler
declaration
-
Field Details
-
namespaceAware
public static boolean namespaceAwareMake the parser Namespace aware? -
validating
public static boolean validatingMake the parser validating?
-
-
Constructor Details
-
ResolvingXMLReader
public ResolvingXMLReader()Construct a new reader from the JAXP factory.In order to do its job, a ResolvingXMLReader must in fact be a filter. So the only difference between this code and the filter code is that the constructor builds a new reader.
-
ResolvingXMLReader
Construct a new reader from the JAXP factory.In order to do its job, a ResolvingXMLReader must in fact be a filter. So the only difference between this code and the filter code is that the constructor builds a new reader.
-