Enum Any23Type
- java.lang.Object
-
- java.lang.Enum<Any23Type>
-
- org.apache.camel.model.dataformat.Any23Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Any23Type>
public enum Any23Type extends Enum<Any23Type>
Represents the different types of any23 data formats.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Any23Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Any23Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NTRIPLES
public static final Any23Type NTRIPLES
-
TURTLE
public static final Any23Type TURTLE
-
NQUADS
public static final Any23Type NQUADS
-
RDFXML
public static final Any23Type RDFXML
-
JSONLD
public static final Any23Type JSONLD
-
RDFJSON
public static final Any23Type RDFJSON
-
RDF4JMODEL
public static final Any23Type RDF4JMODEL
-
-
Method Detail
-
values
public static Any23Type[] 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 (Any23Type c : Any23Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Any23Type 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
-
-