| java.lang.Object com.sun.org.apache.xml.internal.resolver.readers.TextCatalogReader
All known Subclasses: com.sun.org.apache.xml.internal.resolver.readers.TR9401CatalogReader,
TextCatalogReader | public class TextCatalogReader implements CatalogReader(Code) | | Parses plain text Catalog files.
This class reads plain text Open Catalog files.
See Also: Catalog author: Norman Walsh author: Norman.Walsh@Sun.COM version: 1.0 |
caseSensitive | protected boolean caseSensitive(Code) | | Are keywords in the catalog case sensitive?
|
stack | protected int[] stack(Code) | | Character lookahead stack. Reading a catalog sometimes requires
up to two characters of lookahead.
|
tokenStack | protected Stack tokenStack(Code) | | Token stack. Recognizing an unexpected catalog entry requires
the ability to "push back" a token.
|
top | protected int top(Code) | | The current position on the lookahead stack
|
TextCatalogReader | public TextCatalogReader()(Code) | | Construct a CatalogReader object.
|
finalize | protected void finalize()(Code) | | The destructor.
Makes sure the catalog file is closed.
|
getCaseSensitive | public boolean getCaseSensitive()(Code) | | |
nextChar | protected int nextChar() throws IOException(Code) | | Return the next logical character from the input stream.
The next (logical) character from the input stream. Thecharacter may be buffered from a previous lookahead. throws: IOException - If an error occurs reading from the stream. |
nextToken | protected String nextToken() throws IOException, CatalogException(Code) | | Return the next token in the catalog file.
FYI: This code does not throw any sort of exception for
a file that contains an n
The Catalog file token from the input stream. throws: IOException - If an error occurs reading from the stream. |
setCaseSensitive | public void setCaseSensitive(boolean isCaseSensitive)(Code) | | |
|
|