Enum IFunction.FunctionProperty

    • Enum Constant Detail

      • DETERMINISTIC

        public static final IFunction.FunctionProperty DETERMINISTIC
        Indicates that the function will produce identical results for the same arguments (see XPath 3.1 deterministic). If not assigned to a function definition, a function call with the same arguments is not guaranteed to produce the same results in the same order for subsequent calls within the same execution context.
      • CONTEXT_DEPENDENT

        public static final IFunction.FunctionProperty CONTEXT_DEPENDENT
        Indicates that the result of the function depends on property values within the static or dynamic context and the provided arguments (see XPath 3.1 context-dependent). If not assigned to a function definition, a call will not be affected by the property values within the static or dynamic context and will not have any arguments.
    • Method Detail

      • values

        public static IFunction.FunctionProperty[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IFunction.FunctionProperty c : IFunction.FunctionProperty.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IFunction.FunctionProperty valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null