public class H2TextUnit extends Object implements IVTextUnit
IVItem.ItemType| Constructor and Description |
|---|
H2TextUnit(long itemKey,
H2Document doc,
String id,
String name,
String type) |
| Modifier and Type | Method and Description |
|---|---|
IVDocument |
getDocument()
Gets the document containing this item.
|
IVItem |
getFirstChild()
Gets the first child item of this item.
|
String |
getId()
Gets the extraction id for this item.
|
IVItem.ItemType |
getItemType()
Gets the type of item this item is (document, group, text unit, etc.)
|
long |
getKey()
Gets the storage key for this item.
|
String |
getName()
Gets the resource name of this item.
|
IVItem |
getNextSibling()
Gets the next item (on the same level) of this item.
|
IVItem |
getParent()
Gets the parent item of this item.
|
IVItem |
getPreviousSibling()
Gets the previous item (on the same level) of this item.
|
ITextUnit |
getTextUnit()
Gets the TextUnit resource
|
String |
getType()
Gets the resource type of this item.
|
void |
save()
Saves into the repository the modifiable data associated with this virtual item.
|
public H2TextUnit(long itemKey,
H2Document doc,
String id,
String name,
String type)
public ITextUnit getTextUnit()
IVTextUnitgetTextUnit in interface IVTextUnitpublic IVDocument getDocument()
IVItemgetDocument in interface IVItempublic IVItem getParent()
IVItempublic IVItem getNextSibling()
IVItemgetNextSibling in interface IVItempublic IVItem getPreviousSibling()
IVItemgetPreviousSibling in interface IVItempublic IVItem getFirstChild()
IVItemgetFirstChild in interface IVItempublic void save()
IVItempublic IVItem.ItemType getItemType()
IVItemgetItemType in interface IVItempublic String getId()
IVItempublic String getName()
IVItempublic String getType()
IVItemCopyright © 2020. All rights reserved.