Package | Description |
---|---|
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.document |
Modifier and Type | Class and Description |
---|---|
static class |
ChildReferences.BasicContext
A
ChildReferences.Context implementation that has no changes but maintains the SNS indexes for nodes with any name. |
static class |
ChildReferences.NoContext
A
ChildReferences.Changes implementation that has no changes and that is useful when there are never any siblings
with the same names, since it always returns '1' for the SNS index. |
static class |
ChildReferences.NoSnsIndexesContext
A
ChildReferences.Context implementation that has no changes and that always returns '1' for the SNS index. |
static class |
ChildReferences.SingleNameContext
A
ChildReferences.Context implementation that has no changes and can be used to find the SNS indexes for nodes
named a single name. |
static class |
ChildReferences.WithChanges
A
ChildReferences.Context implementation that has changes and can be used to find the SNS indexes for nodes named a
single name. |
Modifier and Type | Field and Description |
---|---|
static ChildReferences.Context |
ChildReferences.NoContext.INSTANCE |
Modifier and Type | Method and Description |
---|---|
ChildReference |
ChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context)
Look for the child reference that has the given name and SNS index.
|
ChildReference |
ChildReferences.getChild(NodeKey key,
ChildReferences.Context context)
Look for the child reference that has the node key.
|
Iterator<ChildReference> |
ChildReferences.iterator(ChildReferences.Context context)
Get an iterator over all child references in this collection, using the supplied context.
|
Iterator<ChildReference> |
ChildReferences.iterator(ChildReferences.Context context,
Collection<?> namePatterns,
NamespaceRegistry registry)
Get an iterator over all of the children that have
names (excluding same-name-sibling indexes)
matching at least one of the supplied patterns, using the supplied context. |
Iterator<ChildReference> |
ChildReferences.iterator(Name name,
ChildReferences.Context context)
Get an iterator over all of the children that have same name matching the supplied value.
|
Constructor and Description |
---|
WithChanges(ChildReferences.Context delegate,
ChildReferences.Changes changes) |
Modifier and Type | Method and Description |
---|---|
protected ChildReferences.Context |
AbstractChildReferences.defaultContext() |
Modifier and Type | Method and Description |
---|---|
protected Iterator<ChildReference> |
AbstractChildReferences.contextSensitiveIterator(Iterator<ChildReference> original,
ChildReferences.Context context) |
protected Iterator<ChildReference> |
SessionChildReferences.createIterator(ChildReferences.Context context) |
protected Iterator<ChildReference> |
SessionChildReferences.createIterator(Name name,
ChildReferences.Context context) |
ChildReference |
SessionChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
MutableChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Medium.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Segmented.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.ReferencesUnion.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
SessionChildReferences.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
MutableChildReferences.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Medium.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Segmented.getChild(NodeKey key,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.ReferencesUnion.getChild(NodeKey key,
ChildReferences.Context context) |
Iterator<ChildReference> |
SessionChildReferences.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Medium.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Segmented.iterator(ChildReferences.Context context) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(ChildReferences.Context context)
Get an iterator over all child references in this collection, but base the SNS indexes upon those already consumed.
|
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(ChildReferences.Context context,
Collection<?> namePatterns,
NamespaceRegistry registry) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(ChildReferences.Context context,
Collection<?> namePatterns,
NamespaceRegistry registry) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(ChildReferences.Context context,
Name name) |
Iterator<ChildReference> |
SessionChildReferences.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Medium.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.Segmented.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(Name name,
ChildReferences.Context context) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.