Package com.adobe.xmp.path
Enum XMPPathSegment.Type
- java.lang.Object
-
- java.lang.Enum<XMPPathSegment.Type>
-
- com.adobe.xmp.path.XMPPathSegment.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<XMPPathSegment.Type>
- Enclosing class:
- XMPPathSegment
public static enum XMPPathSegment.Type extends java.lang.Enum<XMPPathSegment.Type>
Types of path segments
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_INDEX
PROPERTY
QUALIFIER
QUALIFIER_SELECTOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMPPathSegment.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static XMPPathSegment.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROPERTY
public static final XMPPathSegment.Type PROPERTY
-
ARRAY_INDEX
public static final XMPPathSegment.Type ARRAY_INDEX
-
QUALIFIER
public static final XMPPathSegment.Type QUALIFIER
-
QUALIFIER_SELECTOR
public static final XMPPathSegment.Type QUALIFIER_SELECTOR
-
-
Method Detail
-
values
public static XMPPathSegment.Type[] 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 (XMPPathSegment.Type c : XMPPathSegment.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XMPPathSegment.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-