public class XBStreamChecker extends java.lang.Object implements XBListener
| Constructor and Description |
|---|
XBStreamChecker(XBInputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
UBNatural |
attribXB() |
void |
attribXB(UBNatural value)
Reports block attribute.
|
boolean |
beginXB() |
void |
beginXB(boolean term)
Reports block begin.
|
java.io.InputStream |
dataXB() |
void |
dataXB(java.io.InputStream data)
Reports block data.
|
void |
endXB()
Reports block end.
|
boolean |
isClosed() |
public XBStreamChecker(XBInputStream stream)
public boolean beginXB()
throws XBProcessingException,
java.io.IOException
XBProcessingExceptionjava.io.IOExceptionpublic UBNatural attribXB() throws XBProcessingException, java.io.IOException
XBProcessingExceptionjava.io.IOExceptionpublic java.io.InputStream dataXB()
throws XBProcessingException,
java.io.IOException
XBProcessingExceptionjava.io.IOExceptionpublic void beginXB(boolean term)
throws XBProcessingException,
java.io.IOException
XBListenerbeginXB in interface XBListenerterm - Specify whether node is terminatedXBProcessingExceptionjava.io.IOExceptionpublic void attribXB(UBNatural value) throws XBProcessingException, java.io.IOException
XBListenerattribXB in interface XBListenervalue - given attributeXBProcessingException - if unable to parse attribute valuejava.io.IOExceptionpublic void dataXB(java.io.InputStream data)
throws XBProcessingException,
java.io.IOException
XBListenerdataXB in interface XBListenerdata - processed dataXBProcessingExceptionjava.io.IOExceptionpublic boolean isClosed()
public void endXB()
throws XBProcessingException,
java.io.IOException
XBListenerendXB in interface XBListenerXBProcessingExceptionjava.io.IOException