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.XBTListener
XBUP 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 void
attribXBT(org.exbin.xbup.core.parser.token.XBAttribute value)
void
beginXBT(org.exbin.xbup.core.block.XBBlockTerminationMode terminationMode)
void
dataXBT(java.io.InputStream data)
void
endXBT()
boolean
isClosed()
void
typeXBT(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:
beginXBT
in interfaceorg.exbin.xbup.core.parser.basic.XBTListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.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:
typeXBT
in interfaceorg.exbin.xbup.core.parser.basic.XBTListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.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:
attribXBT
in interfaceorg.exbin.xbup.core.parser.basic.XBTListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.io.IOException
-
dataXBT
public void dataXBT(java.io.InputStream data) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException
- Specified by:
dataXBT
in interfaceorg.exbin.xbup.core.parser.basic.XBTListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.io.IOException
-
endXBT
public void endXBT() throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException
- Specified by:
endXBT
in interfaceorg.exbin.xbup.core.parser.basic.XBTListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.io.IOException
-
isClosed
public boolean isClosed()
-
-