public interface ObjectModel
Modifier and Type | Field and Description |
---|---|
static String |
BOOLEAN_COERCE |
static String |
COLLECTION_COERCE |
static String |
LEQ |
static String |
LT |
static String |
NUMERIC_COERCE |
static String |
PROPERTY_ACCESS |
static String |
STRICT_EQ |
static String |
STRING_COERCE |
Modifier and Type | Method and Description |
---|---|
Number |
coerceNumeric(Object object)
Coerce the object to a numeric value
|
boolean |
coerceToBoolean(Object object)
Convert the given object to a boolean value
|
Collection<Object> |
coerceToCollection(Object object)
Force the conversion of the object to a collection
|
Map |
coerceToMap(Object object)
Force the conversion of the target object to a map
|
String |
coerceToString(Object target)
Convert the given object to a string.
|
boolean |
leq(Object left,
Object right)
Check if left < right
|
boolean |
lt(Object left,
Object right)
Check if left < right
|
Object |
resolveProperty(Object target,
Object property)
Retrieve the specified property from the given object
|
boolean |
strictEq(Object left,
Object right)
Check whether the left argument equals the right one
|
static final String PROPERTY_ACCESS
static final String COLLECTION_COERCE
static final String NUMERIC_COERCE
static final String STRING_COERCE
static final String BOOLEAN_COERCE
static final String STRICT_EQ
static final String LEQ
static final String LT
Object resolveProperty(Object target, Object property)
target
- - the target objectproperty
- - the property nameString coerceToString(Object target)
target
- - the target objectboolean coerceToBoolean(Object object)
object
- - the target objectNumber coerceNumeric(Object object)
object
- - the target objectCollection<Object> coerceToCollection(Object object)
object
- - the target objectMap coerceToMap(Object object)
object
- - the target objectboolean strictEq(Object left, Object right)
left
- the left argumentright
- the right argumentboolean lt(Object left, Object right)
left
- the left argumentright
- the right argument"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"