Apache Tomcat 7.0.28

org.apache.el.parser
Class AstValue

java.lang.Object
  extended by org.apache.el.lang.ELSupport
      extended by org.apache.el.parser.SimpleNode
          extended by org.apache.el.parser.AstValue
All Implemented Interfaces:
Node

public final class AstValue
extends SimpleNode

Version:
$Id: AstValue.java 1304933 2012-03-24 21:33:47Z markt $
Author:
Jacob Hookom [jacob@hookom.net]

Nested Class Summary
protected static class AstValue.Target
           
 
Field Summary
protected static boolean COERCE_TO_ZERO
           
 
Fields inherited from class org.apache.el.parser.SimpleNode
children, id, image, parent
 
Constructor Summary
AstValue(int id)
           
 
Method Summary
 MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes)
           
 Class<?> getType(EvaluationContext ctx)
           
 Object getValue(EvaluationContext ctx)
           
 ValueReference getValueReference(EvaluationContext ctx)
           
 Object invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
           
 boolean isParametersProvided()
           
 boolean isReadOnly(EvaluationContext ctx)
           
 void setValue(EvaluationContext ctx, Object value)
           
 
Methods inherited from class org.apache.el.parser.SimpleNode
accept, equals, getImage, hashCode, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setImage, toString, toString
 
Methods inherited from class org.apache.el.lang.ELSupport
coerceToBoolean, coerceToCharacter, coerceToEnum, coerceToNumber, coerceToNumber, coerceToNumber, coerceToString, coerceToType, compare, equals, isBigDecimalOp, isBigIntegerOp, isDoubleOp, isLongOp, isStringFloat
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COERCE_TO_ZERO

protected static final boolean COERCE_TO_ZERO
Constructor Detail

AstValue

public AstValue(int id)
Method Detail

getType

public Class<?> getType(EvaluationContext ctx)
                 throws ELException
Specified by:
getType in interface Node
Overrides:
getType in class SimpleNode
Throws:
ELException

getValue

public Object getValue(EvaluationContext ctx)
                throws ELException
Specified by:
getValue in interface Node
Overrides:
getValue in class SimpleNode
Throws:
ELException

isReadOnly

public boolean isReadOnly(EvaluationContext ctx)
                   throws ELException
Specified by:
isReadOnly in interface Node
Overrides:
isReadOnly in class SimpleNode
Throws:
ELException

setValue

public void setValue(EvaluationContext ctx,
                     Object value)
              throws ELException
Specified by:
setValue in interface Node
Overrides:
setValue in class SimpleNode
Throws:
ELException

getMethodInfo

public MethodInfo getMethodInfo(EvaluationContext ctx,
                                Class[] paramTypes)
                         throws ELException
Specified by:
getMethodInfo in interface Node
Overrides:
getMethodInfo in class SimpleNode
Throws:
ELException

invoke

public Object invoke(EvaluationContext ctx,
                     Class[] paramTypes,
                     Object[] paramValues)
              throws ELException
Specified by:
invoke in interface Node
Overrides:
invoke in class SimpleNode
Throws:
ELException

getValueReference

public ValueReference getValueReference(EvaluationContext ctx)
Specified by:
getValueReference in interface Node
Overrides:
getValueReference in class SimpleNode
Since:
EL 2.2

isParametersProvided

public boolean isParametersProvided()
Specified by:
isParametersProvided in interface Node
Overrides:
isParametersProvided in class SimpleNode
Since:
EL 2.2

Apache Tomcat 7.0.28

Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.