Package org.exbin.xbup.parser_tree
Class XBTreeReader
- java.lang.Object
-
- org.exbin.xbup.parser_tree.XBTreeReader
-
- All Implemented Interfaces:
org.exbin.xbup.core.parser.basic.XBListener
,org.exbin.xbup.core.stream.XBInput
public class XBTreeReader extends java.lang.Object implements org.exbin.xbup.core.parser.basic.XBListener
XBUP level 0 convertor from tokens to tree node.
-
-
Constructor Summary
Constructors Constructor Description XBTreeReader(org.exbin.xbup.core.block.XBDocument target)
XBTreeReader(org.exbin.xbup.core.block.XBDocument target, boolean recursive, boolean allowTailData)
XBTreeReader(org.exbin.xbup.core.block.XBEditableBlock block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attribXB(org.exbin.xbup.core.parser.token.XBAttribute value)
void
beginXB(org.exbin.xbup.core.block.XBBlockTerminationMode terminationMode)
void
dataXB(java.io.InputStream data)
void
endXB()
boolean
isClosed()
-
-
-
Constructor Detail
-
XBTreeReader
public XBTreeReader(org.exbin.xbup.core.block.XBDocument target)
-
XBTreeReader
public XBTreeReader(org.exbin.xbup.core.block.XBDocument target, boolean recursive, boolean allowTailData)
-
XBTreeReader
public XBTreeReader(org.exbin.xbup.core.block.XBEditableBlock block)
-
-
Method Detail
-
beginXB
public void beginXB(org.exbin.xbup.core.block.XBBlockTerminationMode terminationMode) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException
- Specified by:
beginXB
in interfaceorg.exbin.xbup.core.parser.basic.XBListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.io.IOException
-
attribXB
public void attribXB(org.exbin.xbup.core.parser.token.XBAttribute value) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException
- Specified by:
attribXB
in interfaceorg.exbin.xbup.core.parser.basic.XBListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.io.IOException
-
dataXB
public void dataXB(java.io.InputStream data) throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException
- Specified by:
dataXB
in interfaceorg.exbin.xbup.core.parser.basic.XBListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.io.IOException
-
endXB
public void endXB() throws org.exbin.xbup.core.parser.XBProcessingException, java.io.IOException
- Specified by:
endXB
in interfaceorg.exbin.xbup.core.parser.basic.XBListener
- Throws:
org.exbin.xbup.core.parser.XBProcessingException
java.io.IOException
-
isClosed
public boolean isClosed()
-
-