Package com.sun.xml.fastinfoset.types
Enum ValueInstance.Type
- java.lang.Object
-
- java.lang.Enum<ValueInstance.Type>
-
- com.sun.xml.fastinfoset.types.ValueInstance.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ValueInstance.Type>
- Enclosing class:
- ValueInstance
public static enum ValueInstance.Type extends Enum<ValueInstance.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description alphabet
encodingAlgorithm
indexedString
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueInstance.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValueInstance.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
encodingAlgorithm
public static final ValueInstance.Type encodingAlgorithm
-
alphabet
public static final ValueInstance.Type alphabet
-
indexedString
public static final ValueInstance.Type indexedString
-
-
Method Detail
-
values
public static ValueInstance.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 (ValueInstance.Type c : ValueInstance.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 ValueInstance.Type 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
-
-