public final class LocationPath extends Predicated
| Modifier and Type | Field and Description |
|---|---|
List<LocationPath> |
contexts |
static LocationPath |
DOCUMENT_CONTEXT |
PathExpression.HitExpression |
hitExpression |
static LocationPath |
IMPOSSIBLE |
static LocationPath |
LOCAL_CONTEXT |
boolean |
pathExpression |
int |
scope |
Step[] |
steps |
predicateSet| Constructor and Description |
|---|
LocationPath(int scope,
int noOfSteps) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPredicate(Expression predicate) |
void |
addToContext(LocationPath path) |
Expression |
apply(String function) |
String |
toString() |
Expression |
typeCast(DataType dataType) |
setPredicatepublic static final LocationPath LOCAL_CONTEXT
public static final LocationPath DOCUMENT_CONTEXT
public static final LocationPath IMPOSSIBLE
public final int scope
public final Step[] steps
public boolean pathExpression
public final List<LocationPath> contexts
public PathExpression.HitExpression hitExpression
public void addToContext(LocationPath path)
public void addPredicate(Expression predicate)
addPredicate in class Predicatedpublic Expression typeCast(DataType dataType)
public Expression apply(String function)
Copyright © 2019. All rights reserved.