Package org.eclipse.rdf4j.rio.helpers
Enum JSONLDMode
- java.lang.Object
-
- java.lang.Enum<JSONLDMode>
-
- org.eclipse.rdf4j.rio.helpers.JSONLDMode
-
- All Implemented Interfaces:
Serializable
,Comparable<JSONLDMode>
@Deprecated(since="4.3.0", forRemoval=true) public enum JSONLDMode extends Enum<JSONLDMode>
Deprecated, for removal: This API element is subject to removal in a future version.Specifies constants to identify various modes that are relevant to JSONLD documents.- Author:
- Peter Ansell
- See Also:
- JSONLD Features
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPACT
Deprecated, for removal: This API element is subject to removal in a future version.EXPAND
Deprecated, for removal: This API element is subject to removal in a future version.FLATTEN
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getLabel()
Deprecated, for removal: This API element is subject to removal in a future version.String
getReference()
Deprecated, for removal: This API element is subject to removal in a future version.static JSONLDMode
valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static JSONLDMode[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPAND
public static final JSONLDMode EXPAND
Deprecated, for removal: This API element is subject to removal in a future version.
-
COMPACT
public static final JSONLDMode COMPACT
Deprecated, for removal: This API element is subject to removal in a future version.
-
FLATTEN
public static final JSONLDMode FLATTEN
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
values
public static JSONLDMode[] values()
Deprecated, for removal: This API element is subject to removal in a future version.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 (JSONLDMode c : JSONLDMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JSONLDMode valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.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
-
getLabel
public String getLabel()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Returns the label.
-
getReference
public String getReference()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Returns the reference URL for the given mode.
-
-