|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.japisoft.xpath.function.AbstractFunction
|
+--com.japisoft.xpath.function.basic.Boolean
function converts its argument to a boolean as follows: a number is true if and only if it is neither positive or negative zero nor NaN a node-set is true if and only if it is non-empty a string is true if and only if its length is non-zero an object of a type other than the four basic types is converted to a boolean in a way that is dependent on that type
| Constructor Summary | |
Boolean()
|
|
| Method Summary | |
java.lang.Object |
eval(XPathContext context,
FastVector arg)
Evalute this function for this context and the following arguments |
| Methods inherited from class com.japisoft.xpath.function.AbstractFunction |
checkOneNodeSet, checkOneNumber, checkOneParameter, checkOneString, checkThreeStrings, checkTwoStrings, getString1, getString2, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Boolean()
| Method Detail |
public java.lang.Object eval(XPathContext context,
FastVector arg)
AbstractFunction
eval in interface Functioneval in class AbstractFunctionarg - a Vector value, this is the responsability of the function to test the argument type
Object value like Integer, Boolean, String or NodeSet
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||