|
||||||||||
| 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 |
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. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.modeshape.graph.property.Readable |
|---|
getString, getString, getString, getString, getString |
| Method Detail |
|---|
Name 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||