org.mvel2.compiler
Class CompiledExpression
java.lang.Object
org.mvel2.compiler.CompiledExpression
- All Implemented Interfaces:
- Serializable, Cloneable, Accessor, ExecutableStatement
public class CompiledExpression
- extends Object
- implements Serializable, ExecutableStatement
- See Also:
- Serialized Form
CompiledExpression
public CompiledExpression(ASTLinkedList astMap,
String sourceName,
Class egressType,
ParserConfiguration parserConfiguration,
boolean literalOnly)
getFirstNode
public ASTNode getFirstNode()
isSingleNode
public boolean isSingleNode()
getKnownEgressType
public Class getKnownEgressType()
- Specified by:
getKnownEgressType in interface Accessor- Specified by:
getKnownEgressType in interface ExecutableStatement
setKnownEgressType
public void setKnownEgressType(Class knownEgressType)
- Specified by:
setKnownEgressType in interface ExecutableStatement
getKnownIngressType
public Class getKnownIngressType()
- Specified by:
getKnownIngressType in interface ExecutableStatement
setKnownIngressType
public void setKnownIngressType(Class knownIngressType)
- Specified by:
setKnownIngressType in interface ExecutableStatement
isConvertableIngressEgress
public boolean isConvertableIngressEgress()
- Specified by:
isConvertableIngressEgress in interface ExecutableStatement
computeTypeConversionRule
public void computeTypeConversionRule()
- Specified by:
computeTypeConversionRule in interface ExecutableStatement
getValue
public Object getValue(Object ctx,
Object elCtx,
VariableResolverFactory variableFactory)
- Specified by:
getValue in interface Accessor
getValue
public Object getValue(Object staticContext,
VariableResolverFactory factory)
- Specified by:
getValue in interface ExecutableStatement
getDirectValue
public Object getDirectValue(Object staticContext,
VariableResolverFactory factory)
isOptimized
public boolean isOptimized()
getAccessorOptimizer
public Class<? extends AccessorOptimizer> getAccessorOptimizer()
getSourceName
public String getSourceName()
intOptimized
public boolean intOptimized()
- Specified by:
intOptimized in interface ExecutableStatement
getParserConfiguration
public ParserConfiguration getParserConfiguration()
isImportInjectionRequired
public boolean isImportInjectionRequired()
setValue
public Object setValue(Object ctx,
Object elCtx,
VariableResolverFactory variableFactory,
Object value)
- Specified by:
setValue in interface Accessor
isLiteralOnly
public boolean isLiteralOnly()
- Specified by:
isLiteralOnly in interface ExecutableStatement
isEmptyStatement
public boolean isEmptyStatement()
- Specified by:
isEmptyStatement in interface ExecutableStatement
isExplicitCast
public boolean isExplicitCast()
- Specified by:
isExplicitCast in interface ExecutableStatement
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.