public interface XBTEditableDocument extends XBTDocument
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all data in this document
|
XBTBlock |
createNewBlock(XBTBlock parent)
Create new instance of block as next child for given block.
|
XBTBlock |
findNodeByIndex(long index)
Find node using depth-first traversal index.
|
void |
setExtended(java.io.InputStream source)
Set extended data area.
|
void |
setRootBlock(XBTBlock block)
Set root block of the document.
|
getDocumentSize, getExtended, getExtendedSize, getRootBlockvoid setExtended(java.io.InputStream source)
source - InputStream to use as data source for this document.void setRootBlock(XBTBlock block) throws XBProcessingException
block - the block to use as root block for this document.XBProcessingExceptionvoid clear()
XBTBlock findNodeByIndex(long index)
index - order of the block in document.