|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nodal.util.NodeFilter storage.memory.BareContent storage.memory.BareSequence
Nested Class Summary |
Nested classes inherited from class storage.memory.BareContent |
BareContent.Editor |
Nested classes inherited from class org.nodal.model.SequenceNode |
SequenceNode.Editor |
Field Summary | |
protected storage.memory.MemSequenceContentI |
seq
|
Fields inherited from class storage.memory.BareContent |
c, cap, services, txnHandlers |
Fields inherited from class org.nodal.util.NodeFilter |
node |
Method Summary | |
Seq |
asSeq()
Create and return the current contents of this container as a Seq. |
SequenceNode |
asSequenceNode()
The Node's contents expressed as a Sequence. |
NodeContent.Editor |
edit()
An Editor for changing the Content of this Node. |
abstract SequenceNode.Editor |
editSequence()
Directly access SequenceEditor. |
java.lang.Object |
getItem(int index)
Return the Object at the given index. |
boolean |
indexIsValid(int index)
Check that a given index is valid. |
boolean |
isValidProperty(java.lang.Object prop)
Check for the validity of a given property value. |
Getter |
item(int index)
Return a Getter for the item at the given index. |
Getter |
range(int start,
int end)
Return a Getter for the sequence of items indexed from start to end, inclusive. |
java.lang.String |
toString()
|
Methods inherited from class storage.memory.BareContent |
addTxnHandler, asAnchor, asMapNode, asRecordNode, capability, content, getValue, invert, notifyInsertAfter, notifyInsertBefore, notifyRemoveKey, notifyRemoveRange, notifyReplaceRange, notifySetValue, properties, removeTxnHandler, size, value |
Methods inherited from class org.nodal.util.NodeFilter |
bareNode, editMap, editRecord, history, id, path, repository, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.nodal.model.Content |
getValue, invert, properties, size, type, value |
Methods inherited from interface org.nodal.model.Node |
asAnchor, asMapNode, asRecordNode, bareNode, capability, content, editMap, editRecord, history, id, path, repository, type |
Methods inherited from interface org.nodal.model.TxnMonitorable |
addTxnHandler, removeTxnHandler |
Field Detail |
protected final storage.memory.MemSequenceContentI seq
Method Detail |
public SequenceNode asSequenceNode()
Node
asSequenceNode
in interface Node
asSequenceNode
in class BareContent
public boolean isValidProperty(java.lang.Object prop)
Content
isValidProperty
in interface Content
prop
- the property to be checked
public Seq asSeq()
SequenceContent
asSeq
in interface SequenceContent
public Getter item(int index) throws IndexBoundsException
SequenceContent
item
in interface SequenceContent
IndexBoundsException
public final java.lang.Object getItem(int index) throws IndexBoundsException
SequenceContent
getItem
in interface SequenceContent
IndexBoundsException
public boolean indexIsValid(int index)
SequenceContent
indexIsValid
in interface SequenceContent
index
- the index
public Getter range(int start, int end) throws IndexBoundsException
SequenceContent
The value returned by the Getter is an instance of org.nodal.util.Seq.
range
in interface SequenceContent
IndexBoundsException
Seq
public final NodeContent.Editor edit()
Node
edit
in interface Node
edit
in class BareContent
public java.lang.String toString()
public abstract SequenceNode.Editor editSequence()
SequenceNode
editSequence
in interface SequenceNode
editSequence
in class NodeFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |