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