public class Link extends Object
atom:feed elements SHOULD contain one atom:link element with a rel attribute value of "self". This is the preferred URI for retrieving Atom Feed Documents representing this Atom feed. 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 } *| Constructor and Description |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHref() |
String |
getHreflang() |
String |
getLength() |
String |
getRel() |
String |
getTitle() |
String |
getType() |
int |
hashCode() |
void |
setHref(String href) |
void |
setHreflang(String hreflang) |
void |
setLength(String length) |
void |
setRel(String rel) |
void |
setTitle(String title) |
void |
setType(String type) |
String |
toString() |
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 getHreflang()
public void setHreflang(String hreflang)
public String getTitle()
public void setTitle(String title)
public String getLength()
public void setLength(String length)
Copyright © 2018. All rights reserved.