| java.lang.Object org.apache.cocoon.components.xpointer.parser.SimpleCharStream
SimpleCharStream | public class SimpleCharStream (Code) | | An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
version: CVS $Id: SimpleCharStream.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize) | public | SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn) | public | SimpleCharStream(java.io.Reader dstream) | public | SimpleCharStream(java.io.InputStream dstream, int startline, int startcolumn, int buffersize) | public | SimpleCharStream(java.io.InputStream dstream, int startline, int startcolumn) | public | SimpleCharStream(java.io.InputStream dstream) |
Method Summary | |
public void | adjustBeginLineColumn(int newLine, int newCol) | public void | backup(int amount) | public char | beginToken() | public void | done() | protected void | expandBuff(boolean wrapAround) | protected void | fillBuff() | public int | getBeginColumn() | public int | getBeginLine() | public int | getColumn() | public int | getEndColumn() | public int | getEndLine() | public String | getImage() | public int | getLine() | public char[] | getSuffix(int len) | public void | reInit(java.io.Reader dstream, int startline, int startcolumn, int buffersize) | public void | reInit(java.io.Reader dstream, int startline, int startcolumn) | public void | reInit(java.io.Reader dstream) | public void | reInit(java.io.InputStream dstream, int startline, int startcolumn, int buffersize) | public void | reInit(java.io.InputStream dstream) | public void | reInit(java.io.InputStream dstream, int startline, int startcolumn) | public char | readChar() | protected void | updateLineColumn(char c) |
bufcolumn | protected int bufcolumn(Code) | | |
buffer | protected char[] buffer(Code) | | |
bufline | protected int bufline(Code) | | |
column | protected int column(Code) | | |
inBuf | protected int inBuf(Code) | | |
maxNextCharInd | protected int maxNextCharInd(Code) | | |
prevCharIsCR | protected boolean prevCharIsCR(Code) | | |
prevCharIsLF | protected boolean prevCharIsLF(Code) | | |
staticFlag | final public static boolean staticFlag(Code) | | |
tokenBegin | int tokenBegin(Code) | | |
SimpleCharStream | public SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | |
SimpleCharStream | public SimpleCharStream(java.io.Reader dstream, int startline, int startcolumn)(Code) | | |
adjustBeginLineColumn | public void adjustBeginLineColumn(int newLine, int newCol)(Code) | | Method to adjust line and column numbers for the start of a token.
|
backup | public void backup(int amount)(Code) | | |
expandBuff | protected void expandBuff(boolean wrapAround)(Code) | | |
getBeginColumn | public int getBeginColumn()(Code) | | |
getBeginLine | public int getBeginLine()(Code) | | |
getEndColumn | public int getEndColumn()(Code) | | |
getEndLine | public int getEndLine()(Code) | | |
getSuffix | public char[] getSuffix(int len)(Code) | | |
reInit | public void reInit(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | |
updateLineColumn | protected void updateLineColumn(char c)(Code) | | |
|
|