Enum IFunction.FunctionProperty
- java.lang.Object
-
- java.lang.Enum<IFunction.FunctionProperty>
-
- gov.nist.secauto.metaschema.core.metapath.function.IFunction.FunctionProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<IFunction.FunctionProperty>
- Enclosing interface:
- IFunction
public static enum IFunction.FunctionProperty extends Enum<IFunction.FunctionProperty>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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).DETERMINISTIC
Indicates that the function will produce identical results for the same arguments (see XPath 3.1 deterministic).FOCUS_DEPENDENT
Indicates that the result of the function depends on the current focus (see XPath 3.1 focus-dependent).UNBOUNDED_ARITY
The function allows the last argument to be repeated any number of times.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFunction.FunctionProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static IFunction.FunctionProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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.
-
FOCUS_DEPENDENT
public static final IFunction.FunctionProperty FOCUS_DEPENDENT
Indicates that the result of the function depends on the current focus (see XPath 3.1 focus-dependent). If not assigned to a function definition, a call will not be affected by the current focus.
-
UNBOUNDED_ARITY
public static final IFunction.FunctionProperty UNBOUNDED_ARITY
The function allows the last argument to be repeated any number of times.
-
-
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 nameNullPointerException
- if the argument is null
-
-