|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.el.EL
public class EL
Contains all runtime EL methods
Field Summary |
---|
Fields inherited from interface org.japano.el.parser.ELParserConstants |
---|
AND1, AND2, CLOSE_BRACKET, CLOSE_PAREN, COLON, COMMA, COND, DEFAULT, DIGIT, DIVIDE1, DIVIDE2, DOT, EMPTY, END_EXPRESSION, EOF, EQ1, EQ2, EXPONENT, FALSE, FLOATING_POINT_LITERAL, GE1, GE2, GT1, GT2, IDENTIFIER, ILLEGAL_CHARACTER, IN_EXPRESSION, INTEGER_LITERAL, LE1, LE2, LETTER, LT1, LT2, MINUS, MODULUS1, MODULUS2, MULTIPLY, NE1, NE2, NON_EXPRESSION_TEXT, NOT1, NOT2, NULL, OPEN_BRACKET, OPEN_PAREN, OR1, OR2, PLUS, START_EXPRESSION, STRING_LITERAL, tokenImage, TRUE |
Constructor Summary | |
---|---|
EL()
|
Method Summary | |
---|---|
static java.lang.Object |
chain(java.lang.Object a,
int i)
|
static java.lang.Object |
chain(java.lang.Object a,
java.lang.Object b)
|
static java.lang.Object |
coerceTo(java.lang.Object v,
java.lang.Class klass)
Coerces the given object to the given Class |
static java.lang.Boolean |
coerceToBoolean(java.lang.Object v)
Coerces a given value to a Boolean |
static java.lang.String |
coerceToString(boolean v)
Coerces the given boolean value to a String |
static java.lang.String |
coerceToString(byte v)
Coerces the given byte value to a String |
static java.lang.String |
coerceToString(char v)
Coerces the given char value to a String |
static java.lang.String |
coerceToString(double v)
Coerces the given double value to a String |
static java.lang.String |
coerceToString(float v)
Coerces the given float value to a String |
static java.lang.String |
coerceToString(int v)
Coerces the given int value to a String |
static java.lang.String |
coerceToString(long v)
Coerces the given long value to a String |
static java.lang.String |
coerceToString(java.lang.Object v)
Coerces the given value to a String |
static java.lang.String |
coerceToString(short v)
Coerces the given short value to a String |
static boolean |
empty(java.lang.Object o)
|
static boolean |
eqOp(int op,
java.lang.Object a,
java.lang.Object b)
|
static java.lang.String[] |
headerValues(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
|
static boolean |
isNumber(java.lang.Class klass)
Returns true if the given class is a number. |
static java.lang.Object |
negate(java.lang.Object a)
|
static java.lang.Object |
op(int op,
java.lang.Object a,
java.lang.Object b)
|
static boolean |
relOp(int op,
java.lang.Object a,
java.lang.Object b)
|
static java.lang.String |
safeNumberString(java.lang.String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EL()
Method Detail |
---|
public static java.lang.Object chain(java.lang.Object a, java.lang.Object b)
public static java.lang.Object chain(java.lang.Object a, int i)
public static java.lang.Object op(int op, java.lang.Object a, java.lang.Object b)
public static boolean relOp(int op, java.lang.Object a, java.lang.Object b)
public static boolean eqOp(int op, java.lang.Object a, java.lang.Object b)
public static java.lang.Object negate(java.lang.Object a)
public static java.lang.Object coerceTo(java.lang.Object v, java.lang.Class klass)
v
- Valueklass
- Class to coerce to
public static boolean isNumber(java.lang.Class klass)
klass
- Class
public static java.lang.String coerceToString(java.lang.Object v)
v
- Object
public static java.lang.String coerceToString(boolean v)
v
- Object
public static java.lang.String coerceToString(byte v)
v
- Object
public static java.lang.String coerceToString(char v)
v
- Object
public static java.lang.String coerceToString(short v)
v
- Object
public static java.lang.String coerceToString(int v)
v
- Object
public static java.lang.String coerceToString(long v)
v
- Object
public static java.lang.String coerceToString(float v)
v
- Object
public static java.lang.String coerceToString(double v)
v
- Object
public static java.lang.Boolean coerceToBoolean(java.lang.Object v)
public static boolean empty(java.lang.Object o)
public static java.lang.String[] headerValues(javax.servlet.http.HttpServletRequest request, java.lang.String name)
public static java.lang.String safeNumberString(java.lang.String s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |