@ThreadSafe public static class ChildReferences.SingleNameContext extends Object implements ChildReferences.Context
ChildReferences.Context implementation that has no changes and can be used to find the SNS indexes for nodes
named a single name.| Constructor and Description |
|---|
ChildReferences.SingleNameContext() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public int consume(Name name, NodeKey key)
ChildReferences.Contextconsume in interface ChildReferences.Contextname - the name of the node; may not be nullkey - the key for the node; may not be nullpublic ChildReferences.Changes changes()
ChildReferences.Contextchanges in interface ChildReferences.ContextCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.