public class XBTSerialEventConsumer_ extends java.lang.Object implements XBTEventSerializable
| Constructor and Description |
|---|
XBTSerialEventConsumer_() |
XBTSerialEventConsumer_(XBTConversible rootNode) |
XBTSerialEventConsumer_(XBTConversible rootNode,
boolean terminated) |
XBTSerialEventConsumer_(XBTSerializable target,
boolean terminated) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttr(UBNatural attr) |
void |
addData(java.lang.Object dat) |
void |
addChild(XBTSerializable node) |
void |
attachXBTEventListener(XBTEventListener eventListener)
Attach event listener.
|
void |
generateXBTEvents()
Send all data to listener
|
boolean |
isDataNode() |
UBNatural |
nextAttr() |
java.lang.Object |
nextData() |
XBTSerializable |
nextChild() |
void |
putXBTToken(XBTToken token)
Invoked when an action occurs.
|
void |
reset() |
void |
resetXBTEvents()
Send data to listener
|
public XBTSerialEventConsumer_()
public XBTSerialEventConsumer_(XBTSerializable target, boolean terminated)
public XBTSerialEventConsumer_(XBTConversible rootNode)
public XBTSerialEventConsumer_(XBTConversible rootNode, boolean terminated)
public void addAttr(UBNatural attr) throws XBSerialException
XBSerialExceptionpublic void addChild(XBTSerializable node) throws XBSerialException
XBSerialExceptionpublic void addData(java.lang.Object dat)
throws XBSerialException
XBSerialExceptionpublic void reset()
public boolean isDataNode()
public UBNatural nextAttr() throws XBSerialException
XBSerialExceptionpublic XBTSerializable nextChild() throws XBSerialException
XBSerialExceptionpublic java.lang.Object nextData()
throws XBSerialException
XBSerialExceptionpublic void generateXBTEvents()
XBTEventProducergenerateXBTEvents in interface XBTEventProducerpublic void attachXBTEventListener(XBTEventListener eventListener)
XBTEventProviderattachXBTEventListener in interface XBTEventProviderpublic void resetXBTEvents()
XBTEventConsumerresetXBTEvents in interface XBTEventConsumerpublic void putXBTToken(XBTToken token) throws XBProcessingException, java.io.IOException
XBTEventListenerputXBTToken in interface XBTEventListenerXBProcessingExceptionjava.io.IOException