Save This Page
Home » openjdk-7 » com.sun.org.apache.xml.internal » resolver » readers » [javadoc | source]
com.sun.org.apache.xml.internal.resolver.readers
public class: XCatalogReader [javadoc | source]
java.lang.Object
   com.sun.org.apache.xml.internal.resolver.readers.SAXCatalogReader
      com.sun.org.apache.xml.internal.resolver.readers.XCatalogReader

All Implemented Interfaces:
    SAXCatalogParser, ContentHandler, CatalogReader, DocumentHandler

Parse "xcatalog" XML Catalog files, this is the XML Catalog format developed by John Cowan and supported by Apache.
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 com.sun.org.apache.xml.internal.resolver.readers.SAXCatalogReader:
parserFactory,  parserClass,  namespaceMap,  debug
Constructor:
 public XCatalogReader(SAXParserFactory parserFactory) 
    The constructor
Method from com.sun.org.apache.xml.internal.resolver.readers.XCatalogReader Summary:
characters,   endDocument,   endElement,   getCatalog,   ignorableWhitespace,   processingInstruction,   setCatalog,   setDocumentLocator,   startDocument,   startElement
Methods from com.sun.org.apache.xml.internal.resolver.readers.SAXCatalogReader:
characters,   endDocument,   endElement,   endElement,   endPrefixMapping,   getCatalogParser,   getParserClass,   getParserFactory,   ignorableWhitespace,   processingInstruction,   readCatalog,   readCatalog,   setCatalogParser,   setDocumentLocator,   setParserClass,   setParserFactory,   skippedEntity,   startDocument,   startElement,   startElement,   startPrefixMapping
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.org.apache.xml.internal.resolver.readers.XCatalogReader Detail:
 public  void characters(char[] ch,
    int start,
    int length) throws SAXException 
    The SAX characters method does nothing.
 public  void endDocument() throws SAXException 
    The SAX endDocument method does nothing.
 public  void endElement(String namespaceURI,
    String localName,
    String qName) throws SAXException 
    The SAX endElement method does nothing.
 public Catalog getCatalog() 
    Get the current catalog.
 public  void ignorableWhitespace(char[] ch,
    int start,
    int length) throws SAXException 
    The SAX ignorableWhitespace method does nothing.
 public  void processingInstruction(String target,
    String data) throws SAXException 
    The SAX processingInstruction method does nothing.
 public  void setCatalog(Catalog catalog) 
    Set the current catalog.
 public  void setDocumentLocator(Locator locator) 
    The SAX setDocumentLocator method does nothing.
 public  void startDocument() throws SAXException 
    The SAX startDocument method does nothing.
 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.