public enum CreativeCommons extends java.lang.Enum<CreativeCommons> implements Vocabulary
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CreativeCommons.PermitLiteral |
(package private) static class |
CreativeCommons.ProhibitionLiteral |
(package private) static class |
CreativeCommons.RequirementLiteral |
Enum Constant and Description |
---|
attributionName |
attributionURL |
deprecatedOn |
jurisdiction |
legalcode |
license |
morePermissions |
permits |
prohibits |
requires |
useGuidelines |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IDENTIFIER |
private java.util.Set<Literal> |
literals |
private java.lang.String |
predicate |
static java.lang.String |
PREFIX |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Literal> |
getLiterals()
get a set of literals that are allowed for the predicate as values
|
java.lang.String |
getNamespace()
get the RDF identifier as an URL stub
|
java.lang.String |
getNamespacePrefix()
get the prefix for the predicates of this vocabulary
|
java.lang.String |
getPredicate()
get the predicate name which already contains the prefix url stub
|
java.lang.String |
getURIref()
The URI Reference as defined in http://www.w3.org/TR/rdf-concepts/ 2.2.3
This is a combination of the namespace prefic and the constant name,
concatenated with ':'.
|
static CreativeCommons |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreativeCommons[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final CreativeCommons permits
public static final CreativeCommons requires
public static final CreativeCommons prohibits
public static final CreativeCommons jurisdiction
public static final CreativeCommons legalcode
public static final CreativeCommons deprecatedOn
public static final CreativeCommons license
public static final CreativeCommons morePermissions
public static final CreativeCommons attributionName
public static final CreativeCommons attributionURL
public static final CreativeCommons useGuidelines
public static final java.lang.String IDENTIFIER
public static final java.lang.String PREFIX
private final java.lang.String predicate
private final java.util.Set<Literal> literals
public static CreativeCommons[] values()
for (CreativeCommons c : CreativeCommons.values()) System.out.println(c);
public static CreativeCommons valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getNamespace()
Vocabulary
getNamespace
in interface Vocabulary
public java.lang.String getNamespacePrefix()
Vocabulary
getNamespacePrefix
in interface Vocabulary
public java.util.Set<Literal> getLiterals()
Vocabulary
getLiterals
in interface Vocabulary
public java.lang.String getPredicate()
Vocabulary
getPredicate
in interface Vocabulary
public java.lang.String getURIref()
Vocabulary
getURIref
in interface Vocabulary