| com.caucho.el.Expr com.caucho.el.DivExpr
DivExpr | public class DivExpr extends Expr (Code) | | Represents a binary divtiplication numeric operation
|
Constructor Summary | |
public | DivExpr(Expr left, Expr right) Creates the multiplication expression. |
Method Summary | |
public boolean | equals(Object o) Returns true for equal strings. | public double | evalDouble(ELContext env) | public long | evalLong(ELContext env) | public Object | getValue(ELContext env) Evaluate the expression as an object. | public boolean | isConstant() Returns true if this is a constant expression. | public void | printCreate(WriteStream os) Prints the Java code to recreate an LongLiteral. | public String | toString() Returns a readable representation of the expr. |
DivExpr | public DivExpr(Expr left, Expr right)(Code) | | Creates the multiplication expression.
Parameters: left - the left sub-expression Parameters: right - the right sub-expression |
equals | public boolean equals(Object o)(Code) | | Returns true for equal strings.
|
evalDouble | public double evalDouble(ELContext env) throws ELException(Code) | | Evaluate the expression as a double
Parameters: env - the variable environment the result as an double |
evalLong | public long evalLong(ELContext env) throws ELException(Code) | | Evaluate the expression as a long
Parameters: env - the variable environment the result as an long |
getValue | public Object getValue(ELContext env) throws ELException(Code) | | Evaluate the expression as an object.
Parameters: env - the variable environment the result as an object |
isConstant | public boolean isConstant()(Code) | | Returns true if this is a constant expression.
|
printCreate | public void printCreate(WriteStream os) throws IOException(Code) | | Prints the Java code to recreate an LongLiteral.
Parameters: os - the output stream to the *.java file |
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)
|
|
|