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 interface: CatalogReader [javadoc | source]

All Known Implementing Classes:
    SAXCatalogReader, ExtendedXMLCatalogReader, TR9401CatalogReader, DOMCatalogReader, XCatalogReader, OASISXMLCatalogReader, TextCatalogReader

The CatalogReader interface.

The Catalog class requires that classes implement this interface in order to be used to read catalogs. Examples of CatalogReaders include the TextCatalogReader, the SAXCatalogReader, and the DOMCatalogReader.

Method from com.sun.org.apache.xml.internal.resolver.readers.CatalogReader Summary:
readCatalog,   readCatalog
Method from com.sun.org.apache.xml.internal.resolver.readers.CatalogReader Detail:
 public  void readCatalog(Catalog catalog,
    String fileUrl) throws MalformedURLException, IOException, CatalogException
    Read a catalog from a file.

    This class reads a catalog from a URL.

 public  void readCatalog(Catalog catalog,
    InputStream is) throws IOException, CatalogException
    Read a catalog from an input stream.

    This class reads a catalog from an input stream.