public interface Node
| Modifier and Type | Method and Description |
|---|---|
void |
diff(Node otherNode,
org.apache.jackrabbit.mk.model.NodeDiffHandler nodeDiffHandler)
Diffs this node with the other node and calls the passed in diff handler.
|
int |
getChildNodeCount()
Returns the total number of children of this node.
|
Iterator<Node> |
getChildNodeEntries(int offset,
int count)
Returns the children iterator for the supplied offset and count.
|
Node |
getChildNodeEntry(String name)
Returns the descendant node entry (descendant)
|
String |
getPath()
Returns the path of this
Node. |
Map<String,String> |
getProperties()
Returns the properties this
Node was created with. |
Long |
getRevisionId()
Returns the revision id of this node if known already, else this will return
null. |
Node getChildNodeEntry(String name)
name - Name of the descendant.int getChildNodeCount()
This is not necessarily equal to the number of children returned by
#getChildren() since this Node might be created with only
a subset of children.
Iterator<Node> getChildNodeEntries(int offset, int count)
offset - The offset to return the children from.count - The number of children to return.Map<String,String> getProperties()
Node was created with.void diff(Node otherNode, org.apache.jackrabbit.mk.model.NodeDiffHandler nodeDiffHandler)
otherNode - Other node.nodeDiffHandler - Diff handler.String getPath()
Node.Long getRevisionId()
null.
The revision id will be determined only after the commit has been successfully
performed or the node has been read as part of an existing revision.null.Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.