baseURIStack
protected Stack baseURIStack
catalog
protected Catalog catalog
The catalog object needs to be stored by the object so that
SAX callbacks can use it.
namespaceName
public static final String namespaceName
The namespace name of OASIS ERTC catalogs
namespaceStack
protected Stack namespaceStack
overrideStack
protected Stack overrideStack
tr9401NamespaceName
public static final String tr9401NamespaceName
The namespace name of OASIS ERTC TR9401 catalog extension
characters
public void characters(ch[] ,
int start,
int length)
throws SAXExceptionThe SAX characters method does nothing.
- characters in interface SAXCatalogReader
checkAttributes
public boolean checkAttributes(Attributes atts,
String attName)
checkAttributes
public boolean checkAttributes(Attributes atts,
String attName1,
String attName2)
endDocument
public void endDocument()
throws SAXExceptionThe SAX endDocument method does nothing.
- endDocument in interface SAXCatalogReader
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXExceptionThe SAX endElement method does nothing.
- endElement in interface SAXCatalogReader
endPrefixMapping
public void endPrefixMapping(String prefix)
throws SAXExceptionThe SAX endPrefixMapping method does nothing.
- endPrefixMapping in interface SAXCatalogReader
getCatalog
public Catalog getCatalog()
Get the current catalog.
ignorableWhitespace
public void ignorableWhitespace(ch[] ,
int start,
int length)
throws SAXExceptionThe SAX ignorableWhitespace method does nothing.
- ignorableWhitespace in interface SAXCatalogReader
inExtensionNamespace
protected boolean inExtensionNamespace()
Are we in an extension namespace?
- true if the current stack of open namespaces includes
an extension namespace.
processingInstruction
public void processingInstruction(String target,
String data)
throws SAXExceptionThe SAX processingInstruction method does nothing.
- processingInstruction in interface SAXCatalogReader
skippedEntity
public void skippedEntity(String name)
throws SAXExceptionThe SAX skippedEntity method does nothing.
- skippedEntity in interface SAXCatalogReader
startDocument
public void startDocument()
throws SAXExceptionThe SAX startDocument method does nothing.
- startDocument in interface SAXCatalogReader
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException The SAX startElement method recognizes elements
from the plain catalog format and instantiates CatalogEntry
objects for them.
- startElement in interface SAXCatalogReader
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.
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXExceptionThe SAX startPrefixMapping method does nothing.
- startPrefixMapping in interface SAXCatalogReader