|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.resteasy.hypermedia.relations.Relations
public final class Relations
Defines constants for relations used in this application.
Field Summary | |
---|---|
static String |
HOME Relation to home, not allowed as "home" in HTML 5. |
static String |
IANA_HOME The relation home for IANA. |
static String |
MICROFORMATS_HOME The relation home for Microformats. |
static String |
SELF Relation to self, not allowed as "self" in HTML 5. |
static String |
UP Relation to up, not allowed as "up" in HTML 5. |
Method Summary | |
---|---|
static String |
createIanaRelation(String name) The name of the relation to create in the context of IANA. |
static String |
createMicroformatsRelation(String name) The name of the relation to create in the context of Microformats. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String IANA_HOME
The value of this constant is "http://www.iana.org/assignments/relation".
"http://www.iana.org/assignments/relation"
public static final String MICROFORMATS_HOME
The value of this constant is "http://microformats.org/wiki/rel-".
"http://microformats.org/wiki/rel-"
public static final String SELF
"http://www.iana.org/assignments/relation/self"
public static final String UP
"http://www.iana.org/assignments/relation/up"
public static final String HOME
"http://microformats.org/wiki/rel-home"
Method Detail |
---|
public static String createIanaRelation(String name)
name
- the name without leading slash.
IANA_HOME
.
public static String createMicroformatsRelation(String name)
name
- the name.
MICROFORMATS_HOME
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |