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,
ParserContext ctx,
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
setConvertableIngressEgress
public void setConvertableIngressEgress(boolean convertableIngressEgress)
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()
setOptimized
public void setOptimized(boolean optimized)
getAccessorOptimizer
public Class<? extends AccessorOptimizer> getAccessorOptimizer()
setAccessorOptimizer
public void setAccessorOptimizer(Class<? extends AccessorOptimizer> accessorOptimizer)
getSourceName
public String getSourceName()
setSourceName
public void setSourceName(String sourceName)
intOptimized
public boolean intOptimized()
- Specified by:
intOptimized in interface ExecutableStatement
getParserContext
public ParserContext getParserContext()
setParserContext
public void setParserContext(ParserContext parserContext)
isImportInjectionRequired
public boolean isImportInjectionRequired()
setImportInjectionRequired
public void setImportInjectionRequired(boolean importInjectionRequired)
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 © 2010. All Rights Reserved.