public class ResolvingXMLReader extends ResolvingXMLFilter
This class implements a SAX XMLReader that performs entity resolution using the CatalogResolver. The actual, underlying parser is obtained from a SAXParserFactory.
CatalogResolver,
XMLReader| Modifier and Type | Field and Description |
|---|---|
static boolean |
namespaceAware
Make the parser Namespace aware?
|
static boolean |
validating
Make the parser validating?
|
suppressExplanation| Constructor and Description |
|---|
ResolvingXMLReader()
Construct a new reader from the JAXP factory.
|
ResolvingXMLReader(CatalogManager manager)
Construct a new reader from the JAXP factory.
|
getCatalog, notationDecl, parse, parse, processingInstruction, resolveEntity, startElement, unparsedEntityDeclcharacters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, warningpublic static boolean namespaceAware
public static boolean validating
public ResolvingXMLReader()
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.
public ResolvingXMLReader(CatalogManager manager)
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.
Copyright © 2005–2017 Oracle Corporation. All rights reserved.