org.zkoss.zel.impl.parser
Class AstLiteralExpression

java.lang.Object
  extended by org.zkoss.zel.impl.lang.ELSupport
      extended by org.zkoss.zel.impl.parser.SimpleNode
          extended by org.zkoss.zel.impl.parser.AstLiteralExpression
All Implemented Interfaces:
Node

public final class AstLiteralExpression
extends SimpleNode

Author:
Jacob Hookom [jacob@hookom.net]

Field Summary
 
Fields inherited from class org.zkoss.zel.impl.parser.SimpleNode
children, id, image, parent
 
Fields inherited from class org.zkoss.zel.impl.lang.ELSupport
COERCE_NULL_TO_NULL, COERCE_TO_ZERO
 
Constructor Summary
AstLiteralExpression(int id)
           
 
Method Summary
 java.lang.Class<?> getType(EvaluationContext ctx)
           
 java.lang.Object getValue(EvaluationContext ctx)
           
 void setImage(java.lang.String image)
           
 
Methods inherited from class org.zkoss.zel.impl.parser.SimpleNode
accept, equals, getImage, getMethodInfo, getValueReference, hashCode, invoke, isParametersProvided, isReadOnly, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetNumSiblings, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString
 
Methods inherited from class org.zkoss.zel.impl.lang.ELSupport
coerceToBoolean, coerceToDateTime, coerceToEnum, coerceToNumber, coerceToNumber, coerceToNumber, coerceToString, coerceToType, coerceToTypeForSetValue, compare, equals, isBigDecimalOp, isBigIntegerOp, isDateTimeType, isDoubleOp, isLongOp, isStringFloat
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstLiteralExpression

public AstLiteralExpression(int id)
Method Detail

getType

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

getValue

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

setImage

public void setImage(java.lang.String image)
Overrides:
setImage in class SimpleNode


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo