org.apache.jackrabbit.mk.model
Class AbstractNode

java.lang.Object
  extended by org.apache.jackrabbit.mk.model.AbstractNode
All Implemented Interfaces:
Node
Direct Known Subclasses:
MutableNode, StoredNode

public abstract class AbstractNode
extends Object
implements Node


Field Summary
protected  ChildNodeEntries childEntries
           
protected  HashMap<String,String> properties
           
protected  RevisionProvider provider
           
 
Constructor Summary
protected AbstractNode(Node other, RevisionProvider provider)
           
protected AbstractNode(RevisionProvider provider)
           
 
Method Summary
 void diff(Node other, NodeDiffHandler handler)
           
 int getChildNodeCount()
           
 Iterator<ChildNode> getChildNodeEntries(int offset, int count)
           
 ChildNode getChildNodeEntry(String name)
           
 Iterator<String> getChildNodeNames(int offset, int count)
           
 Map<String,String> getProperties()
           
 void serialize(Binding binding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

provider

protected RevisionProvider provider

properties

protected HashMap<String,String> properties

childEntries

protected ChildNodeEntries childEntries
Constructor Detail

AbstractNode

protected AbstractNode(RevisionProvider provider)

AbstractNode

protected AbstractNode(Node other,
                       RevisionProvider provider)
Method Detail

getProperties

public Map<String,String> getProperties()
Specified by:
getProperties in interface Node

getChildNodeEntry

public ChildNode getChildNodeEntry(String name)
Specified by:
getChildNodeEntry in interface Node

getChildNodeNames

public Iterator<String> getChildNodeNames(int offset,
                                          int count)
Specified by:
getChildNodeNames in interface Node

getChildNodeCount

public int getChildNodeCount()
Specified by:
getChildNodeCount in interface Node

getChildNodeEntries

public Iterator<ChildNode> getChildNodeEntries(int offset,
                                               int count)
Specified by:
getChildNodeEntries in interface Node

diff

public void diff(Node other,
                 NodeDiffHandler handler)
Specified by:
diff in interface Node

serialize

public void serialize(Binding binding)
               throws Exception
Specified by:
serialize in interface Node
Throws:
Exception


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.