org.nodal.model
Interface NodeContent
- All Superinterfaces:
- Content, Node, TxnMonitorable
- All Known Subinterfaces:
- MapNode, MapNode.Editor, NodeContent.Editor, RecordNode, RecordNode.Editor, SequenceNode, SequenceNode.Editor
- All Known Implementing Classes:
- BareContent, BareContent.Editor, BareMap, BareRecord, BareSequence, MapFilter, RecordFilter, SequenceFilter
- public interface NodeContent
- extends Node, Content, TxnMonitorable
Parent class for all three types of Node
content.
Any NodeContent object will specialize to one of MapNode
,
RecordNode
or SequenceNode
. One way to access the
appropriate subclass is to use the
Node.asMapNode()
, Node.asRecordNode()
or Node.asSequenceNode()
methods.
Exactly one of these will
return non-null, depending on the type of the Node
.
Nested Class Summary |
static interface |
NodeContent.Editor
Basic interface for modifying the contents of a Node. |
Methods inherited from interface org.nodal.model.Node |
asAnchor, asMapNode, asRecordNode, asSequenceNode, bareNode, capability, content, edit, editMap, editRecord, editSequence, history, id, path, repository, type |