Package org.exbin.xbup.parser_tree
Class XBTTreeReader
- java.lang.Object
-
- org.exbin.xbup.parser_tree.XBTTreeReader
-
- All Implemented Interfaces:
org.exbin.xbup.core.parser.basic.XBTListener,org.exbin.xbup.core.stream.XBInput
public class XBTTreeReader extends java.lang.Object implements org.exbin.xbup.core.parser.basic.XBTListenerXBUP level 1 convertor from tokens to tree node.
-
-
Constructor Summary
Constructors Constructor Description XBTTreeReader(org.exbin.xbup.core.block.XBTDocument target)XBTTreeReader(org.exbin.xbup.core.block.XBTDocument target, boolean recursive, boolean allowTailData)XBTTreeReader(org.exbin.xbup.core.block.XBTEditableBlock block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattribXBT(org.exbin.xbup.core.parser.token.XBAttribute value)voidbeginXBT(org.exbin.xbup.core.block.XBBlockTerminationMode terminationMode)voiddataXBT(java.io.InputStream data)voidendXBT()booleanisClosed()voidtypeXBT(org.exbin.xbup.core.block.XBBlockType type)
-
-
-
Constructor Detail
-
XBTTreeReader
public XBTTreeReader(org.exbin.xbup.core.block.XBTDocument target)
-
XBTTreeReader
public XBTTreeReader(org.exbin.xbup.core.block.XBTDocument target, boolean recursive, boolean allowTailData)
-
XBTTreeReader
public XBTTreeReader(org.exbin.xbup.core.block.XBTEditableBlock block)
-
-
Method Detail
-
beginXBT
public void beginXBT(org.exbin.xbup.core.block.XBBlockTerminationMode terminationMode) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException- Specified by:
beginXBTin interfaceorg.exbin.xbup.core.parser.basic.XBTListener- Throws:
org.exbin.xbup.core.parser.XBProcessingExceptionjava.io.IOException
-
typeXBT
public void typeXBT(org.exbin.xbup.core.block.XBBlockType type) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException- Specified by:
typeXBTin interfaceorg.exbin.xbup.core.parser.basic.XBTListener- Throws:
org.exbin.xbup.core.parser.XBProcessingExceptionjava.io.IOException
-
attribXBT
public void attribXBT(org.exbin.xbup.core.parser.token.XBAttribute value) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException- Specified by:
attribXBTin interfaceorg.exbin.xbup.core.parser.basic.XBTListener- Throws:
org.exbin.xbup.core.parser.XBProcessingExceptionjava.io.IOException
-
dataXBT
public void dataXBT(java.io.InputStream data) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException- Specified by:
dataXBTin interfaceorg.exbin.xbup.core.parser.basic.XBTListener- Throws:
org.exbin.xbup.core.parser.XBProcessingExceptionjava.io.IOException
-
endXBT
public void endXBT() throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException- Specified by:
endXBTin interfaceorg.exbin.xbup.core.parser.basic.XBTListener- Throws:
org.exbin.xbup.core.parser.XBProcessingExceptionjava.io.IOException
-
isClosed
public boolean isClosed()
-
-