public class Link
extends java.lang.Object
Constructor and Description |
---|
Link() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getHref()
The \"href\" attribute contains the link's IRI.
|
java.lang.String |
getRel()
atom:link elements MAY have a \"rel\" attribute that indicates the link relation type.
|
java.lang.String |
getTitle()
The \"title\" attribute conveys human-readable information about the link.
|
java.lang.String |
getType()
On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced.
|
int |
hashCode() |
Link |
href(java.lang.String href) |
Link |
rel(java.lang.String rel) |
void |
setHref(java.lang.String href) |
void |
setRel(java.lang.String rel) |
void |
setTitle(java.lang.String title) |
void |
setType(java.lang.String type) |
Link |
title(java.lang.String title) |
java.lang.String |
toString() |
Link |
type(java.lang.String type) |
public Link href(java.lang.String href)
public java.lang.String getHref()
public void setHref(java.lang.String href)
public Link rel(java.lang.String rel)
public java.lang.String getRel()
public void setRel(java.lang.String rel)
public Link type(java.lang.String type)
public java.lang.String getType()
public void setType(java.lang.String type)
public Link title(java.lang.String title)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object