public class Link extends CommonAttributes
Per RFC4287:
The "atom:link" element defines a reference from an entry or feed to a Web resource. This specification assigns no meaning to the content (if any) of this element. atomLink = element atom:link { atomCommonAttributes, attribute href { atomUri }, attribute rel { atomNCName | atomUri }?, attribute type { atomMediaType }?, attribute hreflang { atomLanguageTag }?, attribute title { text }?, attribute length { text }?, undefinedContent }
Modifier and Type | Field and Description |
---|---|
protected URI |
href |
protected String |
hreflang |
protected String |
length |
protected String |
rel |
protected String |
title |
protected MediaType |
type |
Constructor and Description |
---|
Link() |
Link(String rel,
String href) |
Link(String rel,
String href,
MediaType type) |
Link(String rel,
String href,
String type) |
Link(String rel,
URI href) |
Link(String rel,
URI href,
MediaType type) |
Modifier and Type | Method and Description |
---|---|
URI |
getHref() |
String |
getHreflang() |
String |
getLength() |
String |
getRel() |
String |
getTitle() |
MediaType |
getType() |
void |
setHref(URI href) |
void |
setHreflang(String hreflang) |
void |
setLength(String length) |
void |
setRel(String rel) |
void |
setTitle(String title) |
void |
setType(MediaType type) |
getBase, getExtensionAttributes, getLanguage, setBase, setLanguage
protected URI href
protected String rel
protected MediaType type
protected String hreflang
protected String title
protected String length
public URI getHref()
public void setHref(URI href)
public String getRel()
public void setRel(String rel)
public MediaType getType()
public void setType(MediaType type)
public String getHreflang()
public void setHreflang(String hreflang)
public String getTitle()
public void setTitle(String title)
public String getLength()
public void setLength(String length)
Copyright © 2013. All Rights Reserved.