static enum CreativeCommons.PermitLiteral extends java.lang.Enum<CreativeCommons.PermitLiteral> implements Literal
Enum Constant and Description |
---|
DerivativeWorks |
Distribution |
Reproduction |
Sharing |
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.PermitLiteral |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreativeCommons.PermitLiteral[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreativeCommons.PermitLiteral Reproduction
public static final CreativeCommons.PermitLiteral Distribution
public static final CreativeCommons.PermitLiteral DerivativeWorks
public static final CreativeCommons.PermitLiteral Sharing
java.lang.String terminal
MultiProtocolURL subject
java.util.regex.Pattern discoveryPattern
public static CreativeCommons.PermitLiteral[] values()
for (CreativeCommons.PermitLiteral c : CreativeCommons.PermitLiteral.values()) System.out.println(c);
public static CreativeCommons.PermitLiteral 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