Package | Description |
---|---|
org.restlet.ext.atom |
Support for the Atom syndication and the AtomPub (Atom Publication Protocol) standards in their 1.0 version.
|
Modifier and Type | Field and Description |
---|---|
static Relation |
Relation.ALTERNATE
Signifies that the IRI in the value of the href attribute identifies an
alternate version of the resource described by the containing element.
|
static Relation |
Relation.CURRENT
Signifies that the IRI returns a feed document containing the most recent
entries in the feed.
|
static Relation |
Relation.DESCRIBED_BY
Relationship that asserts that resource B provides a description of
resource A.
|
static Relation |
Relation.EDIT
Signifies that the IRI in the value of the href attribute identifies a
resource that is able to edit the current resource.
|
static Relation |
Relation.EDIT_MEDIA
An IRI of an editable Media Resource.
|
static Relation |
Relation.ENCLOSURE
Signifies that the IRI in the value of the href attribute identifies a
related resource that is potentially large in size and might require
special handling.
|
static Relation |
Relation.FIRST
Signifies that the IRI in the value of the href attribute identifies the
first resource in a series including the current resource.
|
static Relation |
Relation.HUB
A URI for a hub that enables registration for real-time updates to the
resource.
|
static Relation |
Relation.LAST
Signifies that the IRI in the value of the href attribute identifies the
last resource in a series including the current resource.
|
static Relation |
Relation.LAST_VERSION
When included on a versioned resource, this link points to a resource
containing the latest (e.g., current) version.
|
static Relation |
Relation.LICENSE
Signifies that the IRI in the value of the href attribute identifies the
resource describing the license.
|
static Relation |
Relation.NEXT
Signifies that the IRI in the value of the href attribute identifies the
next resource in a series including the current resource.
|
static Relation |
Relation.NEXT_ARCHIVE
Signifies that the IRI in the value of the href attribute identifies the
immediately following archive document.
|
static Relation |
Relation.PAYMENT
Signifies that the IRI in the value of the href attribute identifies
where payment is accepted.
|
static Relation |
Relation.PREDECESSOR_VERSION
When included on a versioned resource, this link points to a resource
containing the predecessor version in the version history.
|
static Relation |
Relation.PREVIOUS
Signifies that the IRI in the value of the href attribute identifies the
previous resource in a series including the current resource.
|
static Relation |
Relation.PREVIOUS_ARCHIVE
A URI that refers to the immediately preceding archive document.
|
static Relation |
Relation.RELATED
Signifies that the IRI in the value of the href attribute identifies a
resource related to the resource described by the containing element.
|
static Relation |
Relation.REPLIES
Signifies that the IRI in the value of the href attribute identifies a
resource where responses to an entry may be found.
|
static Relation |
Relation.SELF
Signifies that the IRI in the value of the href attribute identifies a
resource equivalent to the containing element.
|
static Relation |
Relation.SERVICE
Signifies that the IRI in the value of the href attribute identifies a
resource that can be used to retrieve an Atom Publishing Protocol Service
Document as defined by RFC 5023.
|
static Relation |
Relation.SUCCESSOR_VERSION
When included on a versioned resource, this link points to a resource
containing the successor version in the version history.
|
static Relation |
Relation.UP
A URI that refers to a parent document in a hierarchy of documents.
|
static Relation |
Relation.VERSION_HISTORY
When included on a versioned resource, this link points to a resource
containing the version history for this resource.
|
static Relation |
Relation.VIA
Signifies that the IRI in the value of the href attribute identifies a
resource that is the source of the information provided in the containing
element.
|
static Relation |
Relation.WORKING_COPY
When included on a versioned resource, this link points to a working copy
for this resource.
|
static Relation |
Relation.WORKING_COPY_OF
When included on a working copy, this link points to the versioned
resource from which this working copy was obtained.
|
Modifier and Type | Method and Description |
---|---|
Relation |
Link.getRel()
Returns the link's relation type.
|
static Relation |
Relation.valueOf(java.lang.String rel)
Parses a relation name into the equivalent item.
|
Modifier and Type | Method and Description |
---|---|
Link |
Entry.getLink(Relation rel)
Returns the first available link with a given relation type.
|
void |
Link.setRel(Relation rel)
Sets the link's relation type.
|
static java.lang.String |
Relation.toString(Relation rel)
Return a String object representing the specified Relation.
|
Constructor and Description |
---|
Link(Reference href,
Relation rel,
MediaType type)
Constructor.
|
Copyright © 2005-2020 Restlet.