jd.xml.xpath.expr.function
Class ToBoolean

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.BooleanExpression
          extended byjd.xml.xpath.expr.function.BooleanFunction
              extended byjd.xml.xpath.expr.function.ToBoolean
All Implemented Interfaces:
Expression, Function

public class ToBoolean
extends BooleanFunction

ToBoolean represents the xpath core function "boolean boolean(object)".


Field Summary
static FunctionType TYPE
           
 
Fields inherited from class jd.xml.xpath.expr.function.BooleanFunction
arguments_
 
Fields inherited from interface jd.xml.xpath.expr.function.Function
NULL_ARGUMENTS
 
Fields inherited from interface jd.xml.xpath.expr.Expression
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN
 
Constructor Summary
ToBoolean()
           
 
Method Summary
 FunctionType getFunctionType()
          Return the FunctionType of the Function-
 boolean toBooleanValue(XPathContext context)
          Evaluate the function.
 
Methods inherited from class jd.xml.xpath.expr.function.BooleanFunction
accept, getArgument, getContextDependencies, setArguments
 
Methods inherited from class jd.xml.xpath.expr.BooleanExpression
getResultType, toNumberValue, toStringValue, toXObject
 
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jd.xml.xpath.expr.Expression
getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toNumberValue, toString, toStringValue, toXObject
 

Field Detail

TYPE

public static final FunctionType TYPE
Constructor Detail

ToBoolean

public ToBoolean()
Method Detail

getFunctionType

public FunctionType getFunctionType()
Description copied from interface: Function
Return the FunctionType of the Function-


toBooleanValue

public boolean toBooleanValue(XPathContext context)
Evaluate the function.

Specified by:
toBooleanValue in interface Expression
Specified by:
toBooleanValue in class BooleanExpression