public class NodeImpl extends Object implements Path.Node, Serializable
Path.Node
.Modifier and Type | Field and Description |
---|---|
static String |
INDEX_CLOSE |
static String |
INDEX_OPEN |
Constructor and Description |
---|
NodeImpl(String name,
NodeImpl parent,
boolean indexable,
Integer index,
Object key) |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
boolean |
equals(Object o) |
Integer |
getIndex() |
Object |
getKey() |
String |
getName()
Property name the node represents
or null if representing an entity on the leaf node
(in particular the node in a
Path representing
the root object has its name null). |
NodeImpl |
getParent() |
int |
hashCode() |
boolean |
isInIterable() |
boolean |
isIterable() |
String |
toString() |
public static final String INDEX_OPEN
public static final String INDEX_CLOSE
public final String getName()
Path.Node
Path
representing
the root object has its name null).public final boolean isInIterable()
isInIterable
in interface Path.Node
public final boolean isIterable()
public final Integer getIndex()
public final Object getKey()
public final NodeImpl getParent()
public final String asString()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.