public class IndexedPath extends Object implements PathExpression
PathExpression.Chain| Constructor and Description |
|---|
IndexedPath(int idx,
String name,
boolean local)
A new
IndexedPath. |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(ValueResolver resolver,
Context context,
Object data,
PathExpression.Chain chain)
Eval the expression and resolve it to a value.
|
boolean |
local() |
String |
toString() |
public IndexedPath(int idx,
String name,
boolean local)
IndexedPath.idx - Index.name - Path.local - True, if we want to restrict lookup to current scope.public Object eval(ValueResolver resolver, Context context, Object data, PathExpression.Chain chain)
PathExpressioneval in interface PathExpressionresolver - Value resolvercontext - Context object.data - Data object.chain - Expression chain.null.public boolean local()
local in interface PathExpressionthis.name this,
etc...Copyright © 2018. All rights reserved.