org.apache.xml.resolver.readers
public class OASISXMLCatalogReader extends SAXCatalogReader implements SAXCatalogParser
Field Summary | |
---|---|
protected Stack | baseURIStack |
protected Catalog | catalog The catalog object needs to be stored by the object so that
SAX callbacks can use it. |
static String | namespaceName The namespace name of OASIS ERTC catalogs |
protected Stack | namespaceStack |
protected Stack | overrideStack |
static String | tr9401NamespaceName The namespace name of OASIS ERTC TR9401 catalog extension |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length) The SAX characters method does nothing. |
boolean | checkAttributes(Attributes atts, String attName) |
boolean | checkAttributes(Attributes atts, String attName1, String attName2) |
void | endDocument() The SAX endDocument method does nothing. |
void | endElement(String namespaceURI, String localName, String qName) The SAX endElement method does nothing. |
void | endPrefixMapping(String prefix) The SAX endPrefixMapping method does nothing. |
Catalog | getCatalog() Get the current catalog. |
void | ignorableWhitespace(char[] ch, int start, int length) The SAX ignorableWhitespace method does nothing. |
protected boolean | inExtensionNamespace()
Are we in an extension namespace?
|
void | processingInstruction(String target, String data) The SAX processingInstruction method does nothing. |
void | setCatalog(Catalog catalog) Set the current catalog. |
void | setDocumentLocator(Locator locator) The SAX setDocumentLocator method does nothing. |
void | skippedEntity(String name) The SAX skippedEntity method does nothing. |
void | startDocument() The SAX startDocument method does nothing. |
void | startElement(String namespaceURI, String localName, String qName, Attributes atts)
The SAX startElement method recognizes elements
from the plain catalog format and instantiates CatalogEntry
objects for them.
|
void | startPrefixMapping(String prefix, String uri) The SAX startPrefixMapping method does nothing. |
characters
method does nothing.endDocument
method does nothing.endElement
method does nothing.endPrefixMapping
method does nothing.ignorableWhitespace
method does nothing.Returns: true if the current stack of open namespaces includes an extension namespace.
processingInstruction
method does nothing.setDocumentLocator
method does nothing.skippedEntity
method does nothing.startDocument
method does nothing.startElement
method recognizes elements
from the plain catalog format and instantiates CatalogEntry
objects for them.
Parameters: namespaceURI The namespace name of the element. localName The local name of the element. qName The QName of the element. atts The list of attributes on the element.
See Also: CatalogEntry
startPrefixMapping
method does nothing.