Class Ceiling

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

public final class Ceiling extends ScalarSystemFunction
This class supports the ceiling() function
  • Constructor Details

    • Ceiling

      public Ceiling()
  • Method Details

    • evaluate

      public NumericValue evaluate(Item arg, XPathContext context)
      Description copied from class: ScalarSystemFunction
      Abstract method that must be supplied in subclasses to perform the evaluation
      Specified by:
      evaluate in class ScalarSystemFunction
      Parameters:
      arg - the supplied argument
      context - the dynamic context
      Returns:
      the result of the evaluation
    • getCompilerName

      public String getCompilerName()
      Description copied from class: SystemFunction
      Get the (local) name of a class that can be used to generate bytecode for this system function
      Overrides:
      getCompilerName in class SystemFunction
      Returns:
      the name of a bytecode generation class, or null if there is no bytecode support for this function