org.apache.xml.resolver.readers

Class TR9401CatalogReader

Implemented Interfaces:
CatalogReader

public class TR9401CatalogReader
extends TextCatalogReader

Parses OASIS Open Catalog files.

This class reads OASIS Open Catalog files, returning a stream of tokens.

This code interrogates the following non-standard system properties:

xml.catalog.debug

Version:
1.0
Author:
Norman Walsh Norman.Walsh@Sun.COM
See Also:
Catalog

Field Summary

Fields inherited from class org.apache.xml.resolver.readers.TextCatalogReader

caseSensitive, catfile, stack, tokenStack, top

Method Summary

void
readCatalog(Catalog catalog, InputStream is)
Start parsing an OASIS TR9401 Open Catalog file.

Methods inherited from class org.apache.xml.resolver.readers.TextCatalogReader

finalize, getCaseSensitive, nextChar, nextToken, readCatalog, readCatalog, setCaseSensitive

Method Details

readCatalog

public void readCatalog(Catalog catalog,
                        InputStream is)
            throws MalformedURLException,
                   IOException
Start parsing an OASIS TR9401 Open Catalog file. The file is actually read and parsed as needed by nextEntry.

In a TR9401 Catalog the 'DELEGATE' entry delegates public identifiers. There is no delegate entry for system identifiers or URIs.

Specified by:
readCatalog in interface CatalogReader
Overrides:
readCatalog in interface TextCatalogReader
Parameters:
catalog - The Catalog to populate
is - The input stream from which to read the TR9401 Catalog

Copyright B) 2001-2003 Apache Software Foundation. All Rights Reserved.