public class AtomLink extends Object implements Serializable
Constructor and Description |
---|
AtomLink(String reference)
Constructs this link from the supplied (hypertext) reference.
|
Modifier and Type | Method and Description |
---|---|
String |
getLanguage()
Gets the language of this link.
|
String |
getReference()
Gets the (hypertext) reference of this link.
|
String |
getRelationship()
Gets the relationship of this link.
|
String |
getType()
Gets the type of this link.
|
void |
setLanguage(String language)
Sets the language for this link.
|
void |
setRelationship(String relationship)
Sets the relationship for this link.
|
void |
setType(String type)
Sets the type for this link.
|
public AtomLink(String reference)
reference
- The value of the href attribute of this link.public String getReference()
public String getRelationship()
public void setRelationship(String relationship)
relationship
- The relationship for this link.public String getType()
public void setType(String type)
type
- The type for this link.public String getLanguage()
public void setLanguage(String language)
language
- The language for this link.Copyright © 2008–2018. All rights reserved.