org.mvel2.compiler
Class ExecutableLiteral
java.lang.Object
org.mvel2.compiler.ExecutableLiteral
- All Implemented Interfaces:
- Serializable, Cloneable, Safe, Accessor, ExecutableStatement
public class ExecutableLiteral
- extends Object
- implements ExecutableStatement, Safe
- Author:
- Christopher Brock
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutableLiteral
public ExecutableLiteral(Object literal)
ExecutableLiteral
public ExecutableLiteral(int literal)
getInteger32
public int getInteger32()
setInteger32
public void setInteger32(int integer32)
getValue
public Object getValue(Object staticContext,
VariableResolverFactory factory)
- Specified by:
getValue
in interface ExecutableStatement
setKnownIngressType
public void setKnownIngressType(Class type)
- Specified by:
setKnownIngressType
in interface ExecutableStatement
setKnownEgressType
public void setKnownEgressType(Class type)
- Specified by:
setKnownEgressType
in interface ExecutableStatement
getKnownIngressType
public Class getKnownIngressType()
- Specified by:
getKnownIngressType
in interface ExecutableStatement
getKnownEgressType
public Class getKnownEgressType()
- Specified by:
getKnownEgressType
in interface Accessor
- Specified by:
getKnownEgressType
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
getLiteral
public Object getLiteral()
intOptimized
public boolean intOptimized()
- Specified by:
intOptimized
in interface ExecutableStatement
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
Copyright © 2011. All Rights Reserved.