Logo Search packages:      
Sourcecode: jing-trang version File versions  Download package

com::thaiopensource::relaxng::parse::compact::JavaCharStream Class Reference

List of all members.


Detailed Description

An implementation of interface CharStream, where the stream is assumed to contain 16-bit unicode characters.

Definition at line 15 of file JavaCharStream.java.


Public Member Functions

void adjustBeginLineColumn (int newLine, int newCol)
final void backup (int amount)
final char BeginToken () throws EOFException
void Done ()
final int getBeginColumn ()
final int getBeginLine ()
final int getColumn ()
final int getEndColumn ()
final int getEndLine ()
final String GetImage ()
final int getLine ()
final char[] GetSuffix (int len)
 JavaCharStream (java.io.InputStream dstream)
 JavaCharStream (java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingException
 JavaCharStream (java.io.InputStream dstream, int startline, int startcolumn)
 JavaCharStream (java.io.InputStream dstream, String encoding, int startline, int startcolumn) throws java.io.UnsupportedEncodingException
 JavaCharStream (java.io.InputStream dstream, int startline, int startcolumn, int buffersize)
 JavaCharStream (java.io.InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws java.io.UnsupportedEncodingException
 JavaCharStream (java.io.Reader dstream)
 JavaCharStream (java.io.Reader dstream, int startline, int startcolumn)
 JavaCharStream (java.io.Reader dstream, int startline, int startcolumn, int buffersize)
final char readChar () throws EOFException
void ReInit (java.io.InputStream dstream)
void ReInit (java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodingException
void ReInit (java.io.InputStream dstream, int startline, int startcolumn)
void ReInit (java.io.InputStream dstream, String encoding, int startline, int startcolumn) throws java.io.UnsupportedEncodingException
void ReInit (java.io.InputStream dstream, int startline, int startcolumn, int buffersize)
void ReInit (java.io.InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws java.io.UnsupportedEncodingException
void ReInit (java.io.Reader dstream)
void ReInit (java.io.Reader dstream, int startline, int startcolumn)
void ReInit (java.io.Reader dstream, int startline, int startcolumn, int buffersize)

Public Attributes

int bufpos = -1

Static Public Attributes

static final boolean staticFlag = false

Protected Member Functions

int getTabSize (int i)
void setTabSize (int i)

Static Package Functions

static final int hexval (char c)

Package Attributes

int available
int bufsize
int tokenBegin

Private Member Functions

final void AdjustBuffSize ()
final void ExpandBuff (boolean wrapAround)
final void FillBuff () throws EOFException
final char PeekChar () throws EOFException
final char ReadChar () throws EOFException
void skipBOM ()
final void UpdateLineColumn (char c)

Private Attributes

int bufcolumn []
char[] buffer
int bufline []
boolean closed = false
int column = 0
int inBuf = 0
java.io.Reader inputStream
int line = 1
int maxNextCharInd = 0
final char NEWLINE_MARKER = '\u0000'
char[] nextCharBuf
int nextCharInd = -1
boolean prevCharIsLF = false
int tabSize = 8

Static Private Attributes

static final char BOM = '\ufeff'

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index