public class XBWriter extends XBOutputStream implements XBEventListener
| Modifier and Type | Class and Description |
|---|---|
class |
XBWriter.XBPullEventHandler
Generic Handler for Event Interface
|
| Constructor and Description |
|---|
XBWriter()
Creates a new instance of PullWriter
|
XBWriter(java.io.OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close stream and eventually release opened sources
|
XBListener |
fromXBEvents() |
static int |
getXBUPHeadSize() |
void |
open(java.io.OutputStream stream) |
void |
putXB(XBToken token)
Pull interface direct convertor
|
void |
putXBToken(XBToken token)
Invoked when an action occurs.
|
void |
reset()
Reset Source
|
static int |
writeXBUPHead(java.io.OutputStream stream) |
public XBWriter()
public XBWriter(java.io.OutputStream outputStream)
public static int writeXBUPHead(java.io.OutputStream stream)
throws java.io.IOException
java.io.IOExceptionpublic static int getXBUPHeadSize()
public void open(java.io.OutputStream stream)
public void close()
throws java.io.IOException
XBOutputStreamclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class XBOutputStreamjava.io.IOExceptionpublic void reset()
XBOutputStreamreset in class XBOutputStreampublic void putXB(XBToken token) throws XBProcessingException, java.io.IOException
XBOutputStreamputXB in class XBOutputStreamXBProcessingExceptionjava.io.IOExceptionpublic XBListener fromXBEvents()
public void putXBToken(XBToken token) throws XBProcessingException, java.io.IOException
XBOutputStreamputXBToken in interface XBEventListenerputXBToken in class XBOutputStreamXBProcessingExceptionjava.io.IOException