Package eu.clarin.sru.client.fcs
Enum ClarinFCSEndpointDescription.Layer.ContentEncoding
- java.lang.Object
-
- java.lang.Enum<ClarinFCSEndpointDescription.Layer.ContentEncoding>
-
- eu.clarin.sru.client.fcs.ClarinFCSEndpointDescription.Layer.ContentEncoding
-
- All Implemented Interfaces:
Serializable
,Comparable<ClarinFCSEndpointDescription.Layer.ContentEncoding>
- Enclosing class:
- ClarinFCSEndpointDescription.Layer
public static enum ClarinFCSEndpointDescription.Layer.ContentEncoding extends Enum<ClarinFCSEndpointDescription.Layer.ContentEncoding>
Enumeration to indicate the content encoding of a layer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClarinFCSEndpointDescription.Layer.ContentEncoding
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClarinFCSEndpointDescription.Layer.ContentEncoding[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE
public static final ClarinFCSEndpointDescription.Layer.ContentEncoding VALUE
The layer is encoded as content values.
-
EMPTY
public static final ClarinFCSEndpointDescription.Layer.ContentEncoding EMPTY
The layer is encoded just as segment units.
-
-
Method Detail
-
values
public static ClarinFCSEndpointDescription.Layer.ContentEncoding[] 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 (ClarinFCSEndpointDescription.Layer.ContentEncoding c : ClarinFCSEndpointDescription.Layer.ContentEncoding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClarinFCSEndpointDescription.Layer.ContentEncoding 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
-
-