Package org.apache.camel.model.rest
Enum CollectionFormat
- java.lang.Object
-
- java.lang.Enum<CollectionFormat>
-
- org.apache.camel.model.rest.CollectionFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<CollectionFormat>
@Metadata(label="rest") public enum CollectionFormat extends Enum<CollectionFormat>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CollectionFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static CollectionFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
csv
public static final CollectionFormat csv
-
ssv
public static final CollectionFormat ssv
-
tsv
public static final CollectionFormat tsv
-
pipes
public static final CollectionFormat pipes
-
multi
public static final CollectionFormat multi
-
-
Method Detail
-
values
public static CollectionFormat[] 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 (CollectionFormat c : CollectionFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CollectionFormat 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
-
-