public abstract class XBTInputTokenStream extends java.lang.Object implements java.io.Closeable, XBTPullProvider
| Constructor and Description |
|---|
XBTInputTokenStream() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
finished()
Returns true if stream ended.
|
abstract void |
reset()
Resets source - jump to beginning of stream.
|
abstract void |
skip(long tokenCount)
Skip given count of tokens in stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpullXBTTokenpublic abstract void reset()
throws java.io.IOException
java.io.IOException - if not possible to resetpublic abstract boolean finished()
throws java.io.IOException
java.io.IOException - if unable to determine stream endpublic abstract void skip(long tokenCount)
throws XBProcessingException,
java.io.IOException
tokenCount - count of tokensjava.io.IOExceptionXBProcessingException