Package com.evolveum.midpoint.prism
Enum Class PrismNamespaceContext.PrefixPreference
java.lang.Object
java.lang.Enum<PrismNamespaceContext.PrefixPreference>
com.evolveum.midpoint.prism.PrismNamespaceContext.PrefixPreference
- All Implemented Interfaces:
Serializable
,Comparable<PrismNamespaceContext.PrefixPreference>
,Constable
- Enclosing class:
- PrismNamespaceContext
public static enum PrismNamespaceContext.PrefixPreference
extends Enum<PrismNamespaceContext.PrefixPreference>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionReturns first found topmost (closest to namespace root) prefixReturns first found topmost (closest to namespace root) prefix which is not default -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GLOBAL_FIRST
Returns first found topmost (closest to namespace root) prefix -
GLOBAL_FIRST_SKIP_DEFAULTS
Returns first found topmost (closest to namespace root) prefix which is not default -
LOCAL_FIRST
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-