public class XsiBoolean extends AbstractStringFunction
boolean()
, in which any non-zero value
or non-empty string/nodeset is true.
Note: the name of this class is XsiBoolean
, but it's name in
an XPath expression is "boolean
". This is to prevent name
collision with java.lang.Boolean
.
Constructor and Description |
---|
XsiBoolean() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(String value,
List<?> args)
Subclasses must implement this method.
|
convertToString, evaluate
compareTo, equals, getMaxArgCount, getMinArgCount, getName, getNamespaceUri, getQName, hashCode, isArityMatch, isMatch
public Object evaluate(String value, List<?> args)
AbstractStringFunction
evaluate
in class AbstractStringFunction