public static final class ChildReferences.NoContext extends Object implements ChildReferences.Context
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.| Modifier and Type | Field and Description |
|---|---|
static ChildReferences.Context |
INSTANCE |
| 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 static final ChildReferences.Context INSTANCE
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–2016 JBoss, a division of Red Hat. All rights reserved.