org.apache.xml.resolver.readers
Class ExtendedXMLCatalogReader
java.lang.Object
org.apache.xml.resolver.readers.SAXCatalogReader
org.apache.xml.resolver.readers.OASISXMLCatalogReader
org.apache.xml.resolver.readers.ExtendedXMLCatalogReader
- All Implemented Interfaces:
- CatalogReader, SAXCatalogParser, ContentHandler, DocumentHandler
public class ExtendedXMLCatalogReader
- extends OASISXMLCatalogReader
Parse Extended OASIS Entity Resolution Technical Committee
XML Catalog files.
- Version:
- 1.0
- Author:
- Norman Walsh
Norman.Walsh@Sun.COM
- See Also:
Catalog
Field Summary |
static java.lang.String |
extendedNamespaceName
The namespace name of extended catalog elements |
Method Summary |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
The SAX endElement method does nothing. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
Attributes atts)
The SAX startElement method recognizes elements
from the plain catalog format and instantiates CatalogEntry
objects for them. |
Methods inherited from class org.apache.xml.resolver.readers.OASISXMLCatalogReader |
characters, checkAttributes, checkAttributes, endDocument, endPrefixMapping, getCatalog, ignorableWhitespace, processingInstruction, setCatalog, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
Methods inherited from class org.apache.xml.resolver.readers.SAXCatalogReader |
endElement, getCatalogParser, getParserClass, getParserFactory, readCatalog, readCatalog, setCatalogParser, setClassLoader, setParserClass, setParserFactory, startElement |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extendedNamespaceName
public static final java.lang.String extendedNamespaceName
- The namespace name of extended catalog elements
- See Also:
- Constant Field Values
ExtendedXMLCatalogReader
public ExtendedXMLCatalogReader()
startElement
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
Attributes atts)
throws SAXException
- The SAX
startElement
method recognizes elements
from the plain catalog format and instantiates CatalogEntry
objects for them.
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class OASISXMLCatalogReader
- 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.
- Throws:
SAXException
- any SAX exception, possibly
wrapping another exception- See Also:
CatalogEntry
endElement
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
throws SAXException
- The SAX
endElement
method does nothing.
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class OASISXMLCatalogReader
- Parameters:
namespaceURI
- the Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performedlocalName
- the local name (without prefix), or the
empty string if Namespace processing is not being
performedqName
- the qualified XML name (with prefix), or the
empty string if qualified names are not available
- Throws:
SAXException
- any SAX exception, possibly
wrapping another exception