Class HasChildren_1

All Implemented Interfaces:
Callable, FunctionItem, GroundedValue, Item, Sequence

public class HasChildren_1 extends SystemFunction
This class implements the function fn:has-children($node), which is a standard function in XPath 3.0
  • Constructor Details

    • HasChildren_1

      public HasChildren_1()
  • Method Details

    • call

      public BooleanValue call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate the function dynamically
      Parameters:
      context - the dynamic evaluation context
      arguments - the values of the arguments, supplied as Sequences
      Returns:
      the result of the evaluation, in the form of a Sequence
      Throws:
      XPathException - if a dynamic error occurs during the evaluation of the expression