Class FuncBoolean

All Implemented Interfaces:
SourceLocator, ExpressionNode, XPathVisitable

public class FuncBoolean extends FunctionOneArg
Execute the Boolean() function.
  • Constructor Details

    • FuncBoolean

      public FuncBoolean()
  • Method Details

    • execute

      public XObject execute(XPathContext xctxt) throws TransformerException
      Execute an expression in the XPath runtime context, and return the result of the expression.
      Overrides:
      execute in class Function
      Parameters:
      xctxt - The XPath runtime context.
      Returns:
      The result of the expression in the form of a XObject.
      Throws:
      TransformerException - if a runtime exception occurs.