public interface XBTBlock
Modifier and Type | Method and Description |
---|---|
XBAttribute |
getAttributeAt(int attributeIndex)
Gets attribute of given index.
|
XBAttribute[] |
getAttributes()
Gets array of attributes in order of appearance.
|
int |
getAttributesCount()
Gets count of attributes.
|
XBBlockData |
getBlockData()
Gets block data.
|
int |
getBlockIndex()
Gets block position in tree in depth-first scan.
|
long |
getBlockSize()
Gets block size.
|
XBBlockType |
getBlockType()
Gets block type.
|
java.io.InputStream |
getData()
Gets block data.
|
XBBlockDataMode |
getDataMode()
Returns whether this block is data block.
|
long |
getDataSize()
Gets data size.
|
XBTBlock |
getChildAt(int childIndex)
Gets children of given index.
|
XBTBlock[] |
getChildren()
Gets array of all children.
|
int |
getChildrenCount()
Gets count of children blocks.
|
XBTBlock |
getParent()
Gets parent block or null if block has no parent.
|
XBBlockTerminationMode |
getTerminationMode()
Returns whether this block is using sequence of children ended with
termination block.
|
XBTBlock getParent()
XBBlockTerminationMode getTerminationMode()
XBBlockDataMode getDataMode()
XBBlockType getBlockType()
XBAttribute[] getAttributes()
XBAttribute getAttributeAt(int attributeIndex)
attributeIndex
- index of attributeint getAttributesCount()
XBTBlock[] getChildren()
XBTBlock getChildAt(int childIndex)
childIndex
- index of child blockint getChildrenCount()
java.io.InputStream getData()
XBBlockData getBlockData()
long getDataSize()
int getBlockIndex()
long getBlockSize()