Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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