org.apache.jackrabbit.mk.model
Interface ChildNodeEntries

All Superinterfaces:
Cloneable
All Known Implementing Classes:
ChildNodeEntriesMap, ChildNodeEntriesTree, ChildNodeEntriesTree.Bucket

public interface ChildNodeEntries
extends Cloneable


Field Summary
static int CAPACITY_THRESHOLD
           
 
Method Summary
 ChildNode add(ChildNode entry)
           
 Object clone()
           
 ChildNode get(String name)
           
 Iterator<ChildNode> getAdded(ChildNodeEntries other)
          Returns those entries that exist in other but not in this.
 int getCount()
           
 Iterator<ChildNode> getEntries(int offset, int count)
           
 Iterator<ChildNode> getModified(ChildNodeEntries other)
          Returns this instance's entries that have namesakes in other but with different ids.
 Iterator<String> getNames(int offset, int count)
           
 Iterator<ChildNode> getRemoved(ChildNodeEntries other)
          Returns those entries that exist in this but not in other.
 boolean inlined()
           
 ChildNode remove(String name)
           
 ChildNode rename(String oldName, String newName)
           
 void serialize(Binding binding)
           
 

Field Detail

CAPACITY_THRESHOLD

static final int CAPACITY_THRESHOLD
See Also:
Constant Field Values
Method Detail

clone

Object clone()

inlined

boolean inlined()

getCount

int getCount()

get

ChildNode get(String name)

getNames

Iterator<String> getNames(int offset,
                          int count)

getEntries

Iterator<ChildNode> getEntries(int offset,
                               int count)

add

ChildNode add(ChildNode entry)

remove

ChildNode remove(String name)

rename

ChildNode rename(String oldName,
                 String newName)

getAdded

Iterator<ChildNode> getAdded(ChildNodeEntries other)
Returns those entries that exist in other but not in this.

Parameters:
other -
Returns:

getRemoved

Iterator<ChildNode> getRemoved(ChildNodeEntries other)
Returns those entries that exist in this but not in other.

Parameters:
other -
Returns:

getModified

Iterator<ChildNode> getModified(ChildNodeEntries other)
Returns this instance's entries that have namesakes in other but with different ids.

Parameters:
other -
Returns:

serialize

void serialize(Binding binding)
               throws Exception
Throws:
Exception


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