public abstract class AbstractNode extends Object implements Node, CacheObject
| Modifier and Type | Field and Description |
|---|---|
protected ChildNodeEntries |
childEntries |
protected HashMap<String,String> |
properties |
protected RevisionProvider |
provider |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNode(Node other,
RevisionProvider provider) |
protected |
AbstractNode(RevisionProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
diff(Node other,
NodeDiffHandler handler) |
int |
getChildNodeCount() |
Iterator<ChildNodeEntry> |
getChildNodeEntries(int offset,
int count) |
ChildNodeEntry |
getChildNodeEntry(String name) |
Iterator<String> |
getChildNodeNames(int offset,
int count) |
int |
getMemory()
The estimated amount of memory used, in bytes.
|
Map<String,String> |
getProperties() |
void |
serialize(Binding binding) |
protected RevisionProvider provider
protected ChildNodeEntries childEntries
protected AbstractNode(RevisionProvider provider)
protected AbstractNode(Node other, RevisionProvider provider)
public Map<String,String> getProperties()
getProperties in interface Nodepublic ChildNodeEntry getChildNodeEntry(String name)
getChildNodeEntry in interface Nodepublic Iterator<String> getChildNodeNames(int offset, int count)
getChildNodeNames in interface Nodepublic int getChildNodeCount()
getChildNodeCount in interface Nodepublic Iterator<ChildNodeEntry> getChildNodeEntries(int offset, int count)
getChildNodeEntries in interface Nodepublic void diff(Node other, NodeDiffHandler handler)
public int getMemory()
CacheObjectgetMemory in interface CacheObjectCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.