public class H2SubDocument extends Object implements IVSubDocument
IVItem.ItemType| Modifier and Type | Field and Description |
|---|---|
protected long |
docKey |
protected long |
firstChild |
protected IVItem.ItemType |
itemType |
protected long |
key |
protected int |
level |
protected long |
next |
protected long |
parent |
protected long |
previous |
| Constructor and Description |
|---|
H2SubDocument(long itemKey,
H2Document doc,
String id,
String name,
String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillPointers(long parent,
long firstChild,
long previous,
long next) |
IVDocument |
getDocument()
Gets the document containing this item.
|
Ending |
getEndSubDocument()
Gets the Ending resource associated with this sub-document.
|
IVItem |
getFirstChild()
Gets the first child item of this set.
|
String |
getId()
Gets the extraction id for this item.
|
IVItem.ItemType |
getItemType() |
long |
getKey() |
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.
|
StartSubDocument |
getStartSubDocument()
Gets the StartSubDocument resource associated with this sub-document.
|
String |
getType()
Gets the resource type of this item.
|
Iterable<IVItem> |
items()
Creates an iterable object for all the items in this set.
|
void |
save()
Saves into the repository the modifiable data associated with this virtual item.
|
Iterable<IVTextUnit> |
textUnits()
Creates an iterable object for all the virtual text units in this set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemType, getKeyprotected long key
protected long docKey
protected IVItem.ItemType itemType
protected int level
protected long parent
protected long firstChild
protected long next
protected long previous
public H2SubDocument(long itemKey,
H2Document doc,
String id,
String name,
String type)
public String getId()
IVItempublic Ending getEndSubDocument()
IVSubDocumentgetEndSubDocument in interface IVSubDocumentpublic StartSubDocument getStartSubDocument()
IVSubDocumentgetStartSubDocument in interface IVSubDocumentpublic IVItem getFirstChild()
IVSetgetFirstChild in interface IVItemgetFirstChild in interface IVSetpublic Iterable<IVItem> items()
IVSetpublic Iterable<IVTextUnit> textUnits()
IVSetpublic IVDocument getDocument()
IVItemgetDocument in interface IVItempublic String getName()
IVItempublic IVItem getNextSibling()
IVItemgetNextSibling in interface IVItempublic IVItem getParent()
IVItempublic IVItem getPreviousSibling()
IVItemgetPreviousSibling in interface IVItempublic String getType()
IVItempublic void save()
IVItempublic void fillPointers(long parent,
long firstChild,
long previous,
long next)
public IVItem.ItemType getItemType()
public long getKey()
Copyright © 2020. All rights reserved.