com.icl.saxon.expr
public class ObjectValue extends Value
Constructor Summary | |
---|---|
ObjectValue(Object object)
Constructor |
Method Summary | |
---|---|
boolean | asBoolean()
Convert the value to a boolean |
double | asNumber()
Get the value as a number |
String | asString()
Get the value as a String |
int | conversionPreference(Class required)
Get conversion preference for this value to a Java class. |
Object | convertToJava(Class target)
Convert to Java object (for passing to external functions) |
void | display(int level)
Diagnostic print of expression structure |
boolean | equals(ObjectValue other)
Determine if two ObjectValues are equal |
int | getDataType()
Determine the data type of the expression |
Object | getObject()
Get the encapsulated object |
UNKNOWN: the object to be encapsulated
Returns: the boolean value
Returns: the numeric value
Returns: a String representation of the value
Returns: Value.OBJECT