org.apache.xml.resolver.readers
public class XCatalogReader extends SAXCatalogReader implements SAXCatalogParser
Parse "xcatalog" XML Catalog files, this is the XML Catalog format developed by John Cowan and supported by Apache.
Version: 1.0
Field Summary | |
---|---|
protected Catalog | catalog The catalog object needs to be stored by the object so that
SAX callbacks can use it. |
Constructor Summary | |
---|---|
XCatalogReader(SAXParserFactory parserFactory) The constructor |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length) The SAX |
void | endDocument() The SAX |
void | endElement(String namespaceURI, String localName, String qName) The SAX |
Catalog | getCatalog() Get the current catalog. |
void | ignorableWhitespace(char[] ch, int start, int length) The SAX |
void | processingInstruction(String target, String data) The SAX |
void | setCatalog(Catalog catalog) Set the current catalog. |
void | setDocumentLocator(Locator locator) The SAX |
void | startDocument() The SAX |
void | startElement(String namespaceURI, String localName, String qName, Attributes atts) The SAX |
The SAX characters
method does nothing.
The SAX endDocument
method does nothing.
The SAX endElement
method does nothing.
The SAX ignorableWhitespace
method does nothing.
The SAX processingInstruction
method does nothing.
The SAX setDocumentLocator
method does nothing.
The SAX startDocument
method does nothing.
The SAX 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