@Immutable public static interface Path.Segment extends Cloneable, Comparable<Path.Segment>, Serializable, Readable
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Get the index for this segment, which will be 1 by default.
|
Name |
getName()
Get the name component of this segment.
|
String |
getUnencodedString()
Get the raw string form of the segment using the
no-op encoder. |
boolean |
hasIndex()
Return whether this segment has an index.
|
boolean |
isIdentifier()
Return whether this segment is an identifier segment.
|
boolean |
isParentReference()
Return whether this segment is a reference to a parent.
|
boolean |
isSelfReference()
Return whether this segment is a self-reference.
|
compareToName getName()
int getIndex()
boolean hasIndex()
boolean isSelfReference()
boolean isParentReference()
boolean isIdentifier()
String getUnencodedString()
no-op encoder. This is equivalent to
calling getString(Path.NO_OP_ENCODER).Readable.getString(TextEncoder)Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.