Package org.apache.xml.resolver.readers
Class TR9401CatalogReader
java.lang.Object
org.apache.xml.resolver.readers.TextCatalogReader
org.apache.xml.resolver.readers.TR9401CatalogReader
- All Implemented Interfaces:
CatalogReader
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
Sets the debug level. A value of 0 is assumed if the property is not set or is not a number.
- Version:
- 1.0
- Author:
- Norman Walsh Norman.Walsh@Sun.COM
- See Also:
-
Field Summary
Fields inherited from class org.apache.xml.resolver.readers.TextCatalogReader
caseSensitive, catfile, stack, tokenStack, top
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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, setCaseSensitive
-
Constructor Details
-
TR9401CatalogReader
public TR9401CatalogReader()
-
-
Method Details
-
readCatalog
Start parsing an OASIS TR9401 Open Catalog file. The file is actually read and parsed as needed bynextEntry
.In a TR9401 Catalog the 'DELEGATE' entry delegates public identifiers. There is no delegate entry for system identifiers or URIs.
- Specified by:
readCatalog
in interfaceCatalogReader
- Overrides:
readCatalog
in classTextCatalogReader
- Parameters:
catalog
- The Catalog to populateis
- The input stream from which to read the TR9401 Catalog- Throws:
MalformedURLException
- Improper fileUrlIOException
- Error reading catalog file
-