|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.el.Expression
javax.el.ValueExpression
com.caucho.el.Expr
com.caucho.el.AbstractBooleanExpr
public abstract class AbstractBooleanExpr
Base implementation for a boolean-valued expression.
Field Summary |
---|
Fields inherited from class com.caucho.el.Expr |
---|
L, log |
Constructor Summary | |
---|---|
AbstractBooleanExpr()
|
Method Summary | |
---|---|
abstract boolean |
evalBoolean(ELContext env)
Evaluate the expression as a boolean |
double |
evalDouble(ELContext env)
Evaluate the expression as a double |
long |
evalLong(ELContext env)
Evaluate the expression as a long |
java.lang.String |
evalString(ELContext env)
Evaluate the expression as a string |
java.lang.Object |
getValue(ELContext env)
Evaluate the expression as an object. |
boolean |
print(WriteStream out,
ELContext env,
boolean isEscaped)
Evalutes directly to the output. |
Methods inherited from class com.caucho.el.Expr |
---|
coerceToType, createField, createField, createMethod, equals, error, evalBigDecimal, evalBigInteger, evalCharacter, evalObject, evalPeriod, evalStringWithNull, getExpectedType, getExpressionString, getMethodInfo, getType, hashCode, invocationError, invoke, isConstant, isDouble, isDoubleString, isLiteralText, isReadOnly, print, printCreate, printEscaped, printEscapedString, setProperty, setValue, toBigDecimal, toBigInteger, toBoolean, toCharacter, toClass, toDouble, toEnum, toLong, toStream, toStream, toStream, toStreamEscaped, toStreamEscaped, toStreamEscaped, toString, toString, toString, toString, toString, toString, toStringWithNull |
Methods inherited from class javax.el.ValueExpression |
---|
getValueReference |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractBooleanExpr()
Method Detail |
---|
public abstract boolean evalBoolean(ELContext env) throws ELException
evalBoolean
in class Expr
env
- the variable environment
ELException
public java.lang.Object getValue(ELContext env) throws ELException
getValue
in class Expr
env
- the variable environment
ELException
public java.lang.String evalString(ELContext env) throws ELException
evalString
in class Expr
env
- the variable environment
ELException
public long evalLong(ELContext env) throws ELException
evalLong
in class Expr
env
- the variable environment
ELException
public double evalDouble(ELContext env) throws ELException
evalDouble
in class Expr
env
- the variable environment
ELException
public boolean print(WriteStream out, ELContext env, boolean isEscaped) throws java.io.IOException, ELException
print
in class Expr
out
- the output streamenv
- the variable environmentisEscaped
- if true, escape reserved XML
java.io.IOException
ELException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |