| java.lang.Object com.sun.org.apache.xml.internal.resolver.tools.ResolvingParser
Method Summary | |
public void | characters(char[] ch, int start, int length) SAX DocumentHandler API. | public void | endDocument() SAX DocumentHandler API. | public void | endElement(String name) SAX DocumentHandler API. | public Catalog | getCatalog() Return the Catalog being used. | public void | ignorableWhitespace(char[] ch, int start, int length) SAX DocumentHandler API. | public void | notationDecl(String name, String publicId, String systemId) SAX DTDHandler API. | public void | parse(InputSource input) SAX Parser API.
Note that the JAXP 1.1ea2 parser crashes with an InternalError if
it encounters a system identifier that appears to be a relative URI
that begins with a slash. | public void | parse(String systemId) SAX Parser API. | public void | processingInstruction(String target, String pidata) SAX DocumentHandler API. | public InputSource | resolveEntity(String publicId, String systemId) Implements the resolveEntity method
for the SAX interface, using an underlying CatalogResolver
to do the real work. | public void | setDTDHandler(DTDHandler handler) SAX Parser API. | public void | setDocumentHandler(DocumentHandler handler) SAX Parser API. | public void | setDocumentLocator(Locator locator) SAX DocumentHandler API. | public void | setEntityResolver(EntityResolver resolver) SAX Parser API. | public void | setErrorHandler(ErrorHandler handler) SAX Parser API. | public void | setLocale(Locale locale) SAX Parser API. | public void | startDocument() SAX DocumentHandler API. | public void | startElement(String name, AttributeList atts) SAX DocumentHandler API. | public void | unparsedEntityDecl(String name, String publicId, String systemId, String notationName) SAX DTDHandler API. |
namespaceAware | public static boolean namespaceAware(Code) | | Make the parser Namespace aware?
|
validating | public static boolean validating(Code) | | Make the parser validating?
|
ResolvingParser | public ResolvingParser()(Code) | | Constructor.
|
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | SAX DocumentHandler API.
|
getCatalog | public Catalog getCatalog()(Code) | | Return the Catalog being used.
|
ignorableWhitespace | public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException(Code) | | SAX DocumentHandler API.
|
parse | public void parse(InputSource input) throws IOException, SAXException(Code) | | SAX Parser API.
Note that the JAXP 1.1ea2 parser crashes with an InternalError if
it encounters a system identifier that appears to be a relative URI
that begins with a slash. For example, the declaration:
<!DOCTYPE book SYSTEM "/path/to/dtd/on/my/system/docbookx.dtd">
would cause such an error. As a convenience, this method catches
that error and prints an explanation. (Unfortunately, it's not possible
to identify the particular system identifier that causes the problem.)
The underlying error is forwarded after printing the explanatory
message. The message is only every printed once and if
suppressExplanation is set to false before
parsing, it will never be printed.
|
resolveEntity | public InputSource resolveEntity(String publicId, String systemId)(Code) | | Implements the resolveEntity method
for the SAX interface, using an underlying CatalogResolver
to do the real work.
|
setDTDHandler | public void setDTDHandler(DTDHandler handler)(Code) | | SAX Parser API.
|
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | SAX DocumentHandler API.
|
setEntityResolver | public void setEntityResolver(EntityResolver resolver)(Code) | | SAX Parser API.
The purpose of this class is to implement an entity resolver.
Attempting to set a different one is pointless (and ignored).
|
startDocument | public void startDocument() throws SAXException(Code) | | SAX DocumentHandler API.
|
|
|