ModeShape Distribution 3.6.0.Final

org.modeshape.jcr.cache
Interface ChildReferences.Context

All Known Implementing Classes:
ChildReferences.BasicContext, ChildReferences.NoContext, ChildReferences.NoSnsIndexesContext, ChildReferences.SingleNameContext, ChildReferences.WithChanges
Enclosing interface:
ChildReferences

public static interface ChildReferences.Context

The context in which the names are evaluated.


Method Summary
 ChildReferences.Changes changes()
          Get the set of changes for this context.
 int consume(Name name, NodeKey key)
          Consume the next child with the supplied name and key.
 

Method Detail

consume

int consume(Name name,
            NodeKey key)
Consume the next child with the supplied name and key.

Parameters:
name - the name of the node; may not be null
key - the key for the node; may not be null
Returns:
the same-name-sibling index for this node; always positive

changes

ChildReferences.Changes changes()
Get the set of changes for this context.

Returns:
the changes; never null

ModeShape Distribution 3.6.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.