org.activiti.engine.impl.juel
类 AstNode
java.lang.Object
org.activiti.engine.impl.juel.AstNode
- 所有已实现的接口:
- ExpressionNode, Node
- 直接已知子类:
- AstEval, AstIdentifier, AstMethod, AstProperty, AstRightValue, AstText
public abstract class AstNode
- extends Object
- implements ExpressionNode
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AstNode
public AstNode()
getValue
public final Object getValue(Bindings bindings,
ELContext context,
Class<?> type)
- evaluate and return the (optionally coerced) result.
- 指定者:
- 接口
ExpressionNode
中的 getValue
- 参数:
bindings
- bindings containing variables and functionscontext
- evaluation contexttype
- result type
- 返回:
- evaluated node, coerced to the expected type
appendStructure
public abstract void appendStructure(StringBuilder builder,
Bindings bindings)
eval
public abstract Object eval(Bindings bindings,
ELContext context)
getStructuralId
public final String getStructuralId(Bindings bindings)
- 从接口
ExpressionNode
复制的描述
- Get the canonical expression string for this node. Variable and funtion names will be
replaced in a way such that two expression nodes that have the same node structure and
bindings will also answer the same value here.
For example,
"${foo:bar()+2*foobar}"
may lead to
"${<fn>() + 2 * <var>}"
if foobar
is a bound variable.
Otherwise, the structural id would be "${<fn>() + 2 * foobar}"
.
If the bindings is null
, the full canonical subexpression is returned.
- 指定者:
- 接口
ExpressionNode
中的 getStructuralId
Copyright © 2013 Alfresco. All rights reserved.