Package org.camunda.bpm.engine.impl.juel
Class AstNode
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.juel.AstNode
 
- 
- All Implemented Interfaces:
- ExpressionNode,- Node
 - Direct Known Subclasses:
- AstEval,- AstIdentifier,- AstMethod,- AstProperty,- AstRightValue,- AstText
 
 public abstract class AstNode extends Object implements ExpressionNode 
- 
- 
Constructor SummaryConstructors Constructor Description AstNode()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidappendStructure(StringBuilder builder, Bindings bindings)abstract Objecteval(Bindings bindings, ELContext context)StringgetStructuralId(Bindings bindings)Get the canonical expression string for this node.ObjectgetValue(Bindings bindings, ELContext context, Class<?> type)evaluate and return the (optionally coerced) result.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.juel.ExpressionNodegetMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.juel.NodegetCardinality, getChild
 
- 
 
- 
- 
- 
Method Detail- 
getValuepublic final Object getValue(Bindings bindings, ELContext context, Class<?> type) evaluate and return the (optionally coerced) result.- Specified by:
- getValuein interface- ExpressionNode
- Parameters:
- bindings- bindings containing variables and functions
- context- evaluation context
- type- result type
- Returns:
- evaluated node, coerced to the expected type
 
 - 
appendStructurepublic abstract void appendStructure(StringBuilder builder, Bindings bindings) 
 - 
getStructuralIdpublic final String getStructuralId(Bindings bindings) Description copied from interface:ExpressionNodeGet 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>}"iffoobaris a bound variable. Otherwise, the structural id would be"${<fn>() + 2 * foobar}". If the bindings isnull, the full canonical subexpression is returned.- Specified by:
- getStructuralIdin interface- ExpressionNode
 
 
- 
 
-