public interface XBTEditableDocument extends XBTDocument
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all data in this document.
|
XBTBlock |
createNewBlock(XBTBlock parent)
Creates new instance of block as next child for given block.
|
XBTBlock |
findBlockByIndex(long index)
Finds node using depth-first traversal index.
|
void |
setExtendedArea(java.io.InputStream source)
Sets extended data area.
|
void |
setRootBlock(XBTBlock block)
Sets root block of the document.
|
getDocumentSize, getExtendedArea, getExtendedAreaSize, getRootBlock
void setRootBlock(XBTBlock block)
block
- the block to use as root block for this documentvoid setExtendedArea(java.io.InputStream source)
source
- data streamvoid clear()
XBTBlock findBlockByIndex(long index)
index
- order of the block in document