|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public static interface Path.Segment
Representation of the segments that occur within a path.
Method Summary | |
---|---|
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 |
isParentReference()
Return whether this segment is a reference to a parent. |
boolean |
isSelfReference()
Return whether this segment is a self-reference. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.jboss.dna.graph.property.Readable |
---|
getString, getString, getString, getString, getString |
Method Detail |
---|
Name getName()
int getIndex()
boolean hasIndex()
boolean isSelfReference()
boolean isParentReference()
String getUnencodedString()
no-op encoder
. This is equivalent to
calling getString(Path.NO_OP_ENCODER)
.
Readable.getString(TextEncoder)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |