|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ucl.xpath.types.AnyType
org.ucl.xpath.types.AnySimpleType
org.ucl.xpath.types.AnyAtomicType
org.ucl.xpath.types.CtrType
org.ucl.xpath.types.XSBoolean
A representation of a true or a false value.
| Constructor Summary | |
XSBoolean()
Initiates to a default representation of false. |
|
XSBoolean(boolean x)
Initiates the new representation to the boolean supplied |
|
| Method Summary | |
ResultSequence |
constructor(ResultSequence arg)
Creates a new result sequence consisting of the retrievable boolean value in the supplied result sequence |
boolean |
eq(AnyType arg)
Comparison for equality between the supplied and this boolean representation. |
boolean |
gt(AnyType arg)
Comparison between the supplied and this boolean representation. |
boolean |
lt(AnyType arg)
Comparison between the supplied and this boolean representation. |
java.lang.String |
string_type()
Retrieve the full type pathname of this datatype |
java.lang.String |
string_value()
Retrieve the String representation of the boolean value stored |
java.lang.String |
type_name()
Retrieve the datatype name |
boolean |
value()
Retrieves the actual boolean value stored |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XSBoolean(boolean x)
x - Initialises this datatype to represent this booleanpublic XSBoolean()
| Method Detail |
public java.lang.String string_type()
string_type in class AnyTypepublic java.lang.String type_name()
type_name in class CtrTypepublic java.lang.String string_value()
string_value in class AnyTypepublic boolean value()
public ResultSequence constructor(ResultSequence arg)
throws DynamicError
constructor in class CtrTypearg - The result sequence from which to extract the boolean value.
DynamicError
public boolean eq(AnyType arg)
throws DynamicError
eq in interface CmpEqarg - The XSBoolean representation of the boolean value to compare with.
DynamicError
public boolean gt(AnyType arg)
throws DynamicError
gt in interface CmpGtarg - The XSBoolean representation of the boolean value to compare with.
DynamicError
public boolean lt(AnyType arg)
throws DynamicError
lt in interface CmpLtarg - The XSBoolean representation of the boolean value to compare with.
DynamicError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||