public class DataPath extends Object implements PathExpression
@data
expression by lookup whole/complete name first and then without the at
symbol.PathExpression.Chain
Constructor and Description |
---|
DataPath(String name)
Creates a new
DataPath expression. |
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 Object eval(ValueResolver resolver, Context context, Object data, PathExpression.Chain chain)
PathExpression
eval
in interface PathExpression
resolver
- Value resolvercontext
- Context object.data
- Data object.chain
- Expression chain.null
.public boolean local()
local
in interface PathExpression
this.name
this
,
etc...Copyright © 2021. All rights reserved.