public class SyndLinkImpl extends Object implements Cloneable, Serializable, SyndLink
Constructor and Description |
---|
SyndLinkImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
String |
getHref()
Returns the link href.
|
String |
getHreflang()
Returns the hreflang
|
long |
getLength()
Returns the length
|
String |
getRel()
Returns the link rel.
|
String |
getTitle()
Returns the link title.
|
String |
getType()
Returns the link type.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setHref(String href)
Sets the link href.
|
void |
setHreflang(String hreflang)
Set the hreflang
|
void |
setLength(long length)
Set the length
|
void |
setRel(String rel)
Sets the link rel.
|
void |
setTitle(String title)
Sets the link title.
|
void |
setType(String type)
Sets the link type.
|
String |
toString()
Returns the String representation for the object.
|
public Object clone() throws CloneNotSupportedException
clone
in interface SyndLink
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
public int hashCode()
It follows the contract defined by the Object hashCode() method.
public String toString()
public String getRel()
public void setRel(String rel)
public String getType()
public void setType(String type)
public String getHref()
public void setHref(String href)
public String getTitle()
public void setTitle(String title)
public String getHreflang()
getHreflang
in interface SyndLink
public void setHreflang(String hreflang)
setHreflang
in interface SyndLink
hreflang
- The hreflang to set.public long getLength()
Copyright © 2021. All rights reserved.