public class PathExpression extends Expression
| Modifier and Type | Class and Description |
|---|---|
static class |
PathExpression.HitExpression |
| Modifier and Type | Field and Description |
|---|---|
Expression[] |
contexts |
boolean |
forEach |
Expression |
relativeExpression |
LocationPath |
union |
id, resultType, scope, storeResult, xpath| Constructor and Description |
|---|
PathExpression(LocationPath union,
Expression relativeExpression,
boolean forEach) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResult()
This method is called only glocal scope expression
|
Object |
getResult(Event event)
This method is called only non-glocal scope expression.
|
String |
toString() |
getXPath, scope, setXPath, simplifypublic final LocationPath union
public final Expression[] contexts
public final Expression relativeExpression
public final boolean forEach
public PathExpression(LocationPath union, Expression relativeExpression, boolean forEach)
public Object getResult()
ExpressiongetResult in class Expressionpublic Object getResult(Event event)
ExpressiongetResult in class ExpressionCopyright © 2019. All rights reserved.