Package org.jdesktop.el.impl.lang
Class ELSupport
java.lang.Object
org.jdesktop.el.impl.lang.ELSupport
- Direct Known Subclasses:
SimpleNode
A helper class that implements the EL Specification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final BooleancoerceToBoolean(Object obj) static final CharactercoerceToCharacter(Object obj) static final EnumcoerceToEnum(Object obj, Class type) protected static final NumbercoerceToNumber(Number number, Class type) static final NumbercoerceToNumber(Object obj) static final NumbercoerceToNumber(Object obj, Class type) protected static final NumbercoerceToNumber(String val, Class type) static final StringcoerceToString(Object obj) static final ObjectcoerceToType(Object obj, Class type) static final intstatic final booleancontainsNulls(Object[] obj) static final booleanstatic final booleanisBigDecimalOp(Object obj0, Object obj1) static final booleanisBigIntegerOp(Object obj0, Object obj1) static final booleanisDoubleOp(Object obj0, Object obj1) static final booleanisDoubleStringOp(Object obj0, Object obj1) static final booleanstatic final booleanisStringFloat(String str) static final voidthrowUnhandled(Object base, Object property) static final Numberstatic final Number
-
Constructor Details
-
ELSupport
public ELSupport()
-
-
Method Details
-
throwUnhandled
- Throws:
ELException
-
compare
- Parameters:
obj0-obj1-- Returns:
- Throws:
EvaluationExceptionELException
-
equals
- Parameters:
obj0-obj1-- Returns:
- Throws:
EvaluationExceptionELException
-
coerceToBoolean
- Parameters:
obj-- Returns:
- Throws:
IllegalArgumentException
-
coerceToEnum
- Throws:
IllegalArgumentException
-
coerceToCharacter
- Throws:
IllegalArgumentException
-
coerceToNumber
-
coerceToNumber
protected static final Number coerceToNumber(Number number, Class type) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
coerceToNumber
- Throws:
IllegalArgumentException
-
coerceToNumber
protected static final Number coerceToNumber(String val, Class type) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
coerceToString
- Parameters:
obj-- Returns:
-
coerceToType
- Throws:
IllegalArgumentException
-
containsNulls
- Parameters:
obj-- Returns:
-
isBigDecimalOp
-
isBigIntegerOp
-
isDoubleOp
-
isDoubleStringOp
-
isLongOp
-
isStringFloat
-
toFloat
-
toNumber
-