org.apache.jackrabbit.mk.model
Interface ChildNodeEntries

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

public interface ChildNodeEntries
extends Cloneable


Field Summary
static int CAPACITY_THRESHOLD
           
 
Method Summary
 ChildNodeEntry add(ChildNodeEntry entry)
           
 Object clone()
           
 ChildNodeEntry get(String name)
           
 Iterator<ChildNodeEntry> getAdded(ChildNodeEntries other)
          Returns those entries that exist in other but not in this.
 int getCount()
           
 Iterator<ChildNodeEntry> getEntries(int offset, int count)
           
 Iterator<ChildNodeEntry> 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<ChildNodeEntry> getRemoved(ChildNodeEntries other)
          Returns those entries that exist in this but not in other.
 boolean inlined()
           
 ChildNodeEntry remove(String name)
           
 ChildNodeEntry 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

ChildNodeEntry get(String name)

getNames

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

getEntries

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

add

ChildNodeEntry add(ChildNodeEntry entry)

remove

ChildNodeEntry remove(String name)

rename

ChildNodeEntry rename(String oldName,
                      String newName)

getAdded

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

Parameters:
other -
Returns:

getRemoved

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

Parameters:
other -
Returns:

getModified

Iterator<ChildNodeEntry> 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.