public class TR9401CatalogReader extends TextCatalogReader
This class reads OASIS Open Catalog files, returning a stream of tokens.
This code interrogates the following non-standard system properties:
Sets the debug level. A value of 0 is assumed if the property is not set or is not a number.
Catalog
caseSensitive, catfile, stack, tokenStack, top
Constructor and Description |
---|
TR9401CatalogReader() |
Modifier and Type | Method and Description |
---|---|
void |
readCatalog(Catalog catalog,
InputStream is)
Start parsing an OASIS TR9401 Open Catalog file.
|
finalize, getCaseSensitive, nextChar, nextToken, readCatalog, setCaseSensitive
public void readCatalog(Catalog catalog, InputStream is) throws MalformedURLException, IOException
nextEntry
.
In a TR9401 Catalog the 'DELEGATE' entry delegates public identifiers. There is no delegate entry for system identifiers or URIs.
readCatalog
in interface CatalogReader
readCatalog
in class TextCatalogReader
catalog
- The catalog for which this reader is called.is
- The input stream that is to be read.MalformedURLException
- Improper fileUrlIOException
- Error reading catalog fileCopyright © 2018 JBoss by Red Hat. All rights reserved.