static enum CreativeCommons.ProhibitionLiteral extends java.lang.Enum<CreativeCommons.ProhibitionLiteral> implements Literal
Enum Constant and Description |
---|
CommercialUse |
HighIncomeNationUse |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.regex.Pattern |
discoveryPattern |
(package private) MultiProtocolURL |
subject |
(package private) java.lang.String |
terminal |
Modifier and Type | Method and Description |
---|---|
java.util.regex.Pattern |
getDiscoveryPattern()
if a resource is poorly annotated with metadata an it shall
be automatically annotated, then the terminal of a literal
may be too weak to discover literals in the resource.
|
MultiProtocolURL |
getSubject()
the subject of a literal is a reference to a resource that
explains the literal.
|
java.lang.String |
getTerminal()
the terminal is the actual content of the property and also
the visual representation of the content of a property if the
literal is assigned to that property.
|
static CreativeCommons.ProhibitionLiteral |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreativeCommons.ProhibitionLiteral[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreativeCommons.ProhibitionLiteral CommercialUse
public static final CreativeCommons.ProhibitionLiteral HighIncomeNationUse
java.lang.String terminal
MultiProtocolURL subject
java.util.regex.Pattern discoveryPattern
public static CreativeCommons.ProhibitionLiteral[] values()
for (CreativeCommons.ProhibitionLiteral c : CreativeCommons.ProhibitionLiteral.values()) System.out.println(c);
public static CreativeCommons.ProhibitionLiteral 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 getTerminal()
Literal
getTerminal
in interface Literal
public MultiProtocolURL getSubject()
Literal
getSubject
in interface Literal
public java.util.regex.Pattern getDiscoveryPattern()
Literal
getDiscoveryPattern
in interface Literal