public class Link extends Object
Constructor | Description |
---|---|
Link() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
String |
getHref() |
The \"href\" attribute contains the link's IRI.
|
String |
getRel() |
atom:link elements MAY have a \"rel\" attribute that indicates the link relation type.
|
String |
getTitle() |
The \"title\" attribute conveys human-readable information about the link.
|
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(String href) |
|
Link |
rel(String rel) |
|
void |
setHref(String href) |
|
void |
setRel(String rel) |
|
void |
setTitle(String title) |
|
void |
setType(String type) |
|
Link |
title(String title) |
|
String |
toString() |
|
Link |
type(String type) |
public String getHref()
public void setHref(String href)
public String getRel()
public void setRel(String rel)
public String getType()
public void setType(String type)
public String getTitle()
public void setTitle(String title)
Copyright © 2018. All rights reserved.