Enum VirtualGraphMappingSyntax
- java.lang.Object
-
- java.lang.Enum<VirtualGraphMappingSyntax>
-
- com.complexible.stardog.virtual.api.VirtualGraphMappingSyntax
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VirtualGraphMappingSyntax>
public enum VirtualGraphMappingSyntax extends java.lang.Enum<VirtualGraphMappingSyntax>
Enumeration of syntax types supported for virtual graph mappings.- Since:
- 3.1
- Version:
- 3.1
- Author:
- Evren Sirin
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MAPPING_SYNTAX_DEFAULT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VirtualGraphMappingSyntax
get(java.lang.String theName)
static VirtualGraphMappingSyntax
get(java.lang.String syntax, java.io.File mappingsFile)
static VirtualGraphMappingSyntax
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VirtualGraphMappingSyntax[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARDOG
public static final VirtualGraphMappingSyntax STARDOG
-
R2RML
public static final VirtualGraphMappingSyntax R2RML
-
SMS2
public static final VirtualGraphMappingSyntax SMS2
-
-
Field Detail
-
MAPPING_SYNTAX_DEFAULT
public static final java.lang.String MAPPING_SYNTAX_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static VirtualGraphMappingSyntax[] 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 (VirtualGraphMappingSyntax c : VirtualGraphMappingSyntax.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VirtualGraphMappingSyntax 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
-
get
public static VirtualGraphMappingSyntax get(java.lang.String theName) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
get
public static VirtualGraphMappingSyntax get(java.lang.String syntax, java.io.File mappingsFile)
-
-