|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.icl.saxon.expr.Expression
|
+--com.icl.saxon.expr.Value
|
+--com.icl.saxon.expr.BooleanValue
A boolean XPath value
| Fields inherited from class com.icl.saxon.expr.Value |
ANY, BOOLEAN, NODESET, NUMBER, OBJECT, STRING |
| Fields inherited from class com.icl.saxon.expr.Expression |
emptyVector, staticContext |
| Constructor Summary | |
BooleanValue(boolean value)
Constructor: create a boolean value |
|
| Method Summary | |
boolean |
asBoolean()
Convert to boolean (null operation) |
double |
asNumber()
Convert to number |
java.lang.String |
asString()
Convert to string |
int |
getDataType()
Determine the data type of the exprssion |
java.lang.String |
toString()
Get string representation |
| Methods inherited from class com.icl.saxon.expr.Value |
compare, equals, evaluate, getDependencies, inverse, notEquals, numericCompare, reduce, simplify, stringToNumber |
| Methods inherited from class com.icl.saxon.expr.Expression |
containsReferences, enumerate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getStaticContext, isNumeric, isRelative, make, make, setStaticContext, usesCurrent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BooleanValue(boolean value)
value - the initial value, true or false| Method Detail |
public java.lang.String asString()
asString in class Valuepublic double asNumber()
asNumber in class Valuepublic boolean asBoolean()
asBoolean in class Valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic int getDataType()
getDataType in class Expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||