|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.resolver.readers.SAXCatalogReader | +--org.apache.xml.resolver.readers.XCatalogReader
Parse "xcatalog" XML Catalog files, this is the XML Catalog format developed by John Cowan and supported by Apache.
Catalog
Field Summary | |
protected Catalog |
catalog
The catalog object needs to be stored by the object so that SAX callbacks can use it. |
Fields inherited from class org.apache.xml.resolver.readers.SAXCatalogReader |
namespaceMap,
parserClass,
parserFactory |
Constructor Summary | |
XCatalogReader(javax.xml.parsers.SAXParserFactory parserFactory)
The constructor |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
The SAX characters method does nothing. |
void |
endDocument()
The SAX endDocument method does nothing. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
The SAX endElement method does nothing. |
Catalog |
getCatalog()
Get the current catalog. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
The SAX ignorableWhitespace method does nothing. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
The SAX processingInstruction method does nothing. |
void |
setCatalog(Catalog catalog)
Set the current catalog. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
The SAX setDocumentLocator method does nothing. |
void |
startDocument()
The SAX startDocument method does nothing. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.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.SAXCatalogReader |
endElement,
endPrefixMapping,
getCatalogParser,
getParserClass,
getParserFactory,
readCatalog,
readCatalog,
setCatalogParser,
setParserClass,
setParserFactory,
skippedEntity,
startElement,
startPrefixMapping |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected Catalog catalog
Constructor Detail |
public XCatalogReader(javax.xml.parsers.SAXParserFactory parserFactory)
Method Detail |
public void setCatalog(Catalog catalog)
public Catalog getCatalog()
public void setDocumentLocator(org.xml.sax.Locator locator)
The SAX setDocumentLocator
method does nothing.
public void startDocument() throws org.xml.sax.SAXException
The SAX startDocument
method does nothing.
public void endDocument() throws org.xml.sax.SAXException
The SAX endDocument
method does nothing.
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
The SAX startElement
method recognizes elements
from the plain catalog format and instantiates CatalogEntry
objects for them.
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.CatalogEntry
public void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
The SAX endElement
method does nothing.
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
The SAX characters
method does nothing.
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
The SAX ignorableWhitespace
method does nothing.
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
The SAX processingInstruction
method does nothing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |