| com.caucho.el.Expr com.caucho.el.AbstractBooleanExpr com.caucho.el.LtExpr
Method Summary | |
public boolean | equals(Object o) Returns true for equal strings. | public boolean | evalBoolean(ELContext env) Evaluate the expression as a boolean. | public boolean | isConstant() Returns true if this is a constant expression. | public void | printCreate(WriteStream os) Prints the code to create an LongLiteral. | public String | toString() Returns a readable representation of the expr. |
LtExpr | public LtExpr(Expr left, Expr right)(Code) | | Creates a comparison expression
Parameters: op - the lexical code for the operation Parameters: left - the left subexpression Parameters: right - the right subexpression |
equals | public boolean equals(Object o)(Code) | | Returns true for equal strings.
|
evalBoolean | public boolean evalBoolean(ELContext env) throws ELException(Code) | | Evaluate the expression as a boolean.
Parameters: env - the variable environment |
isConstant | public boolean isConstant()(Code) | | Returns true if this is a constant expression.
|
printCreate | public void printCreate(WriteStream os) throws IOException(Code) | | Prints the code to create an LongLiteral.
|
toString | public String toString()(Code) | | Returns a readable representation of the expr.
|
Methods inherited from com.caucho.el.Expr | public static Object coerceToType(Object obj, Class> targetType) throws ELException(Code)(Java Doc) public Expr createField(Expr field)(Code)(Java Doc) public Expr createField(String field)(Code)(Java Doc) public Expr createMethod(Expr[] args)(Code)(Java Doc) public boolean equals(Object o)(Code)(Java Doc) public static Object error(Throwable e, ELContext env) throws ELException(Code)(Java Doc) public BigDecimal evalBigDecimal(ELContext env) throws ELException(Code)(Java Doc) public BigInteger evalBigInteger(ELContext env) throws ELException(Code)(Java Doc) public boolean evalBoolean(ELContext env) throws ELException(Code)(Java Doc) public char evalCharacter(ELContext env) throws ELException(Code)(Java Doc) public double evalDouble(ELContext env) throws ELException(Code)(Java Doc) public long evalLong(ELContext env) throws ELException(Code)(Java Doc) final public Object evalObject(ELContext env) throws ELException(Code)(Java Doc) public long evalPeriod(ELContext env) throws ELException(Code)(Java Doc) public String evalString(ELContext env) throws ELException(Code)(Java Doc) public String evalStringWithNull(ELContext env) throws ELException(Code)(Java Doc) public Class> getExpectedType()(Code)(Java Doc) public String getExpressionString()(Code)(Java Doc) public MethodInfo getMethodInfo(ELContext env, Class> returnType, Class>[] argTypes) throws ELException(Code)(Java Doc) public Class> getType(ELContext context) throws PropertyNotFoundException, ELException(Code)(Java Doc) abstract public Object getValue(ELContext env) throws ELException(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public static Object invocationError(Throwable e) throws ELException(Code)(Java Doc) public Object invoke(ELContext env, Class>[] argTypes, Object[] args) throws ELException(Code)(Java Doc) public boolean isConstant()(Code)(Java Doc) public static boolean isDouble(Object o)(Code)(Java Doc) protected static boolean isDoubleString(Object obj)(Code)(Java Doc) public boolean isLiteralText()(Code)(Java Doc) public boolean isReadOnly(ELContext env)(Code)(Java Doc) public boolean print(WriteStream out, ELContext env, boolean escapeXml) throws IOException, ELException(Code)(Java Doc) public boolean print(JspWriter out, ELContext env, boolean escapeXml) throws IOException, ELException(Code)(Java Doc) public void printCreate(WriteStream os) throws IOException(Code)(Java Doc) public static void printEscaped(WriteStream os, ReadStream is) throws IOException(Code)(Java Doc) public static void printEscapedString(WriteStream os, String string) throws IOException(Code)(Java Doc) public static void setProperty(Object target, String property, Object value) throws ELException, JspException(Code)(Java Doc) public void setValue(ELContext env, Object value) throws PropertyNotFoundException, PropertyNotWritableException, ELException(Code)(Java Doc) public static BigDecimal toBigDecimal(Object value, ELContext env) throws ELException(Code)(Java Doc) public static BigInteger toBigInteger(Object value, ELContext env) throws ELException(Code)(Java Doc) public static boolean toBoolean(Object value, ELContext env) throws ELException(Code)(Java Doc) public static char toCharacter(Object value, ELContext env) throws ELException(Code)(Java Doc) public static double toDouble(Object value, ELContext env) throws ELException(Code)(Java Doc) public static long toLong(Object value, ELContext env) throws ELException(Code)(Java Doc) public static boolean toStream(JspWriter out, Object value, boolean isEscaped) throws IOException(Code)(Java Doc) public static void toStream(WriteStream out, Object value) throws IOException(Code)(Java Doc) public static void toStream(JspWriter out, Object value) throws IOException(Code)(Java Doc) public static void toStreamEscaped(Writer out, Object value) throws IOException(Code)(Java Doc) public static void toStreamEscaped(WriteStream out, Object value) throws IOException(Code)(Java Doc) public static void toStreamEscaped(Writer out, Reader in) throws IOException(Code)(Java Doc) public static String toString(Object value, ELContext env)(Code)(Java Doc) public static String toString(long value, ELContext env)(Code)(Java Doc) public static String toString(double value, ELContext env)(Code)(Java Doc) public static String toString(boolean value, ELContext env)(Code)(Java Doc) public static String toString(char value, ELContext env)(Code)(Java Doc) abstract public String toString()(Code)(Java Doc) public static String toStringWithNull(Object value, ELContext env)(Code)(Java Doc)
|
|
|