public abstract class XBInputStream extends java.lang.Object implements java.io.Closeable, XBEventProvider, XBPullProvider
| Modifier and Type | Class and Description |
|---|---|
class |
XBInputStream.XBPrefixInputStream |
| Constructor and Description |
|---|
XBInputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachXBEventListener(XBEventListener eventListener)
Attach event listener.
|
int |
available() |
void |
close()
Close source and release locks
|
XBInputStream.XBPrefixInputStream |
getPrefixInputStream(XBToken token) |
void |
reset()
Reset Source
|
void |
toXBEvents()
Process stream as stream of events
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpullXBTokenpublic void attachXBEventListener(XBEventListener eventListener)
attachXBEventListener in interface XBEventProviderpublic void toXBEvents()
throws java.io.IOException,
XBProcessingException
java.io.IOExceptionXBProcessingExceptionpublic void reset()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic int available()
throws java.io.IOException
java.io.IOExceptionpublic XBInputStream.XBPrefixInputStream getPrefixInputStream(XBToken token)