public class VerbPath
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASS_NAME
Name of this class
|
static java.lang.String | COPYRIGHT
IBM Copyright
|
static java.lang.String | PATH_SEPARATOR
The path separator of a VerbPath
|
Constructor and Description |
---|
VerbPath(java.util.List stepList) |
VerbPath(VerbPathStep[] theSteps)
Constructs a verb path from a list of steps
|
Modifier and Type | Method and Description |
---|---|
void | addStep(VerbPathStep aStep)
Appends a given step to the path
|
boolean | endsWith(VerbPathContext context, java.lang.Object endNode, java.lang.String endAttr)
Check if a path ends with an attribute of a given object in a given context
|
boolean | equals(java.lang.Object o) |
java.lang.String | getDescriptor() |
java.util.List | getSteps() |
java.lang.Object | getValue(VerbPathContext context)
Gets the value designated by this path within the given context.
|
boolean | hasDescriptor(java.lang.String aDescriptor)
Check if the path matches the given descriptor
|
int | hashCode() |
boolean | isEmpty() |
java.lang.String | toString() |
public static final java.lang.String COPYRIGHT
public static final java.lang.String PATH_SEPARATOR
public static final java.lang.String CLASS_NAME
public VerbPath(java.util.List stepList)
public VerbPath(VerbPathStep[] theSteps)
public java.lang.String toString()
public boolean isEmpty()
public java.util.List getSteps()
public void addStep(VerbPathStep aStep)
public java.lang.Object getValue(VerbPathContext context)
public java.lang.String getDescriptor()
public boolean hasDescriptor(java.lang.String aDescriptor)
public boolean endsWith(VerbPathContext context, java.lang.Object endNode, java.lang.String endAttr)
public boolean equals(java.lang.Object o)
public int hashCode()