public enum RelDefinition extends Enum<RelDefinition>
Rel.| Enum Constant and Description |
|---|
IANA
Rel defined by IANA. |
IMPL
Proprietary rel defined by implementation.
|
RO_SPEC
Rel defined by the Restful Objects spec. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddParams() |
String |
nameOf(String relSuffix) |
static RelDefinition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelDefinition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelDefinition IANA
Rel defined by IANA.public static final RelDefinition RO_SPEC
Rel defined by the Restful Objects spec.public static final RelDefinition IMPL
public static RelDefinition[] values()
for (RelDefinition c : RelDefinition.values()) System.out.println(c);
public static RelDefinition valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic boolean canAddParams()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.