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
Parse Extended OASIS Entity Resolution Technical Committee
XML Catalog files.
- Version:
- 1.0
- Author:
- Norman Walsh Norman.Walsh@Sun.COM
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe namespace name of extended catalog elementsFields inherited from class OASISXMLCatalogReader
baseURIStack, catalog, namespaceName, namespaceStack, overrideStack, tr9401NamespaceNameFields inherited from class SAXCatalogReader
debug, namespaceMap, parserClass, parserFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String namespaceURI, String localName, String qName) The SAXendElementmethod does nothing.voidstartElement(String namespaceURI, String localName, String qName, Attributes atts) The SAXstartElementmethod recognizes elements from the plain catalog format and instantiates CatalogEntry objects for them.Methods inherited from class OASISXMLCatalogReader
characters, checkAttributes, checkAttributes, endDocument, endPrefixMapping, getCatalog, ignorableWhitespace, inExtensionNamespace, processingInstruction, setCatalog, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingMethods inherited from class SAXCatalogReader
endElement, getCatalogParser, getParserClass, getParserFactory, readCatalog, readCatalog, setCatalogParser, setClassLoader, setParserClass, setParserFactory, startElementMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
declarationMethods inherited from interface DocumentHandler
endElement, startElement
-
Field Details
-
extendedNamespaceName
The namespace name of extended catalog elements- See Also:
-
-
Constructor Details
-
ExtendedXMLCatalogReader
public ExtendedXMLCatalogReader()
-
-
Method Details
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException The SAXstartElementmethod recognizes elements from the plain catalog format and instantiates CatalogEntry objects for them.- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classOASISXMLCatalogReader- 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- See Also:
-
endElement
The SAXendElementmethod does nothing.- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classOASISXMLCatalogReader- Throws:
SAXException
-