org.exolab.adaptx.xpath
public final class BooleanResult extends XPathResult
Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
Field Summary | |
---|---|
static BooleanResult | FALSE
Boolean result representing false. |
static BooleanResult | TRUE
Boolean result representing true. |
Method Summary | |
---|---|
boolean | booleanValue()
Returns the result as a boolean value.
|
boolean | equals(XPathResult result)
Returns true if the given result is a boolean result
and has the same boolean value.
|
static BooleanResult | from(boolean value)
Returns a boolean result from a boolean value. |
static BooleanResult | from(XPathResult result)
Returns a boolean result from an XPath result. |
int | getResultType()
Returns the type of this result.
|
Object | javaObject()
Returns the result as a Java object. |
double | numberValue()
Returns the result as a number value. |
String | stringValue()
Returns the result as a string value. |
String | toString() |
Returns: The result as a boolean value
Parameters: result An XPath result
Returns: True if a boolean result and has same value
Parameters: boolean The boolean value
Returns: A boolean result
Parameters: result An XPath result
Returns: A boolean result
Returns: BOOLEAN
Returns: The result as a Java object
Returns: The result as a number value
Returns: The result as a string value