|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.property.basic.BasicPathSegment
org.modeshape.graph.property.basic.IdentifierPathSegment
@Immutable public class IdentifierPathSegment

A Path.Segment implementation that represents an identifier segment.
| Constructor Summary | |
|---|---|
IdentifierPathSegment(Name name)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getString(NamespaceRegistry namespaceRegistry,
TextEncoder encoder,
TextEncoder delimiterEncoder)
Get the encoded string form of the object, using the supplied namespace registry to convert the names' namespace URIs to prefixes and the supplied encoder to encode characters, and using the second delimiter to encode (or convert) the delimiter used between the namespace prefix and the local part of any names. |
String |
getString(TextEncoder encoder)
Get the encoded string form of the object, using the supplied encoder to encode characters. |
boolean |
isIdentifier()
Return whether this segment is an identifier segment. |
String |
toString()
|
| Methods inherited from class org.modeshape.graph.property.basic.BasicPathSegment |
|---|
compareTo, getIndex, getName, getString, getString, getString, getUnencodedString, hashCode, hasIndex, isParentReference, isSelfReference |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IdentifierPathSegment(Name name)
| Method Detail |
|---|
public boolean isIdentifier()
isIdentifier in interface Path.SegmentisIdentifier in class BasicPathSegmentPath.Segment.isIdentifier()public boolean equals(Object obj)
equals in class BasicPathSegmentpublic String toString()
toString in class BasicPathSegmentpublic String getString(TextEncoder encoder)
getString in interface ReadablegetString in class BasicPathSegmentencoder - the encoder to use, or null if the default encoder should be used
Readable.getString()
public String getString(NamespaceRegistry namespaceRegistry,
TextEncoder encoder,
TextEncoder delimiterEncoder)
getString in interface ReadablegetString in class BasicPathSegmentnamespaceRegistry - the namespace registry that should be used to obtain the prefix for the namespace URIs in the
segment namesencoder - the encoder to use for encoding the local part and namespace prefix of any names, or null if the
default encoder should be useddelimiterEncoder - the encoder to use for encoding the delimiter between the local part and namespace prefix of any
names, or null if the standard delimiter should be used
Readable.getString(org.modeshape.graph.property.NamespaceRegistry,
org.modeshape.common.text.TextEncoder, org.modeshape.common.text.TextEncoder)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||