|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.xtext.naming.QualifiedName
org.eclipse.ocl.examples.xtext.base.scoping.QualifiedPath
public class QualifiedPath
QualifiedPath refines QualifiedName to use {name,element} pairs for each segment and support deresolution with respect to another path or an object context.
Field Summary |
---|
Fields inherited from class org.eclipse.xtext.naming.QualifiedName |
---|
EMPTY |
Constructor Summary | |
---|---|
|
QualifiedPath(java.util.List<PathElement> pathElements)
|
protected |
QualifiedPath(java.util.List<PathElement> pathElements,
boolean isAbsolute)
|
Method Summary | |
---|---|
QualifiedPath |
deresolve(QualifiedPath contextPath)
|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getSegments(org.eclipse.emf.ecore.EObject csObject)
Return the segments of this path, deresolving the first segment of an absolute path to use the aliases of the resource of csObject. |
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.xtext.naming.QualifiedName |
---|
append, append, compareTo, compareTo, compareToIgnoreCase, create, create, create, createFromStream, equalsIgnoreCase, getFirstSegment, getLastSegment, getSegment, getSegmentCount, getSegments, hashCode, isEmpty, skipFirst, skipLast, startsWith, startsWith, startsWithIgnoreCase, toLowerCase, toString, toUpperCase, wrapper, writeToStream |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QualifiedPath(java.util.List<PathElement> pathElements)
protected QualifiedPath(java.util.List<PathElement> pathElements, boolean isAbsolute)
Method Detail |
---|
public QualifiedPath deresolve(QualifiedPath contextPath)
public boolean equals(java.lang.Object obj)
equals
in class org.eclipse.xtext.naming.QualifiedName
public java.util.List<java.lang.String> getSegments(org.eclipse.emf.ecore.EObject csObject)
public java.lang.String toString()
toString
in class org.eclipse.xtext.naming.QualifiedName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |