edu.washington.cs.supple.customization.scope
Class AbsoluteReference
java.lang.Object
edu.washington.cs.supple.customization.scope.Reference
edu.washington.cs.supple.customization.scope.AbsoluteReference
- public class AbsoluteReference
- extends Reference
Defines an absolute reference to a UIObject inside a functional
specification.
- Author:
- raphael
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbsoluteReference
public AbsoluteReference(UiObject o)
AbsoluteReference
public AbsoluteReference(PathNode path)
getUiObject
public UiObject getUiObject(UiObject start)
- Description copied from class:
Reference
- Returns the UiObject that this reference refers to.
For relative paths we have to provide a start object.
For absolute paths, the start object is used to determine
the absolute root and then follow the path.
- Specified by:
getUiObject in class Reference
extendReference
public Reference extendReference(Reference r)
- Specified by:
extendReference in class Reference
toXPath
public java.lang.String toXPath()
- Specified by:
toXPath in class Reference
toReverseXPath
public java.lang.String toReverseXPath()
- Specified by:
toReverseXPath in class Reference
toString
public java.lang.String toString()
- Specified by:
toString in class Reference