Module dev.metaschema.core
Enum IFunction.FunctionProperty
java.lang.Object
java.lang.Enum<IFunction.FunctionProperty>
dev.metaschema.core.metapath.function.IFunction.FunctionProperty
- All Implemented Interfaces:
Serializable,Comparable<IFunction.FunctionProperty>
- Enclosing interface:
- IFunction
Details specific characteristics of a function.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates 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).Indicates that the function will produce identical results for the same arguments (see XPath 3.1 deterministic).Indicates that the result of the function depends on the current focus (see XPath 3.1 focus-dependent).The function allows the last argument to be repeated any number of times. -
Method Summary
Modifier and TypeMethodDescriptionstatic IFunction.FunctionPropertyReturns 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 Details
-
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
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
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
The function allows the last argument to be repeated any number of times.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-