Enum AlgorithmUtil.ConsOrProdMime
- java.lang.Object
-
- java.lang.Enum<AlgorithmUtil.ConsOrProdMime>
-
- org.restlet.ext.jaxrs.internal.util.AlgorithmUtil.ConsOrProdMime
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AlgorithmUtil.ConsOrProdMime>
- Enclosing class:
- AlgorithmUtil
private static enum AlgorithmUtil.ConsOrProdMime extends java.lang.Enum<AlgorithmUtil.ConsOrProdMime>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSUME_MIMEDeclares that the methods etc.PRODUCE_MIMEDeclares that the methods etc.
-
Constructor Summary
Constructors Modifier Constructor Description privateConsOrProdMime()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlgorithmUtil.ConsOrProdMimevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AlgorithmUtil.ConsOrProdMime[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSUME_MIME
public static final AlgorithmUtil.ConsOrProdMime CONSUME_MIME
Declares that the methods etc. for the consume mime shoud be used
-
PRODUCE_MIME
public static final AlgorithmUtil.ConsOrProdMime PRODUCE_MIME
Declares that the methods etc. for the produced mime shoud be used
-
-
Method Detail
-
values
public static AlgorithmUtil.ConsOrProdMime[] 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 (AlgorithmUtil.ConsOrProdMime c : AlgorithmUtil.ConsOrProdMime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlgorithmUtil.ConsOrProdMime 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
-
-