Package com.adobe.reef.siren
Class Link
- java.lang.Object
-
- com.adobe.reef.siren.Link
-
public final class Link extends java.lang.Object
ALink
represents a navigational transition.
-
-
Constructor Summary
Constructors Constructor Description Link(java.lang.String[] rel, java.lang.String href)
Constructs a new Link.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getHref()
Returns the href attribute.java.lang.String[]
getRel()
Returns the rel attribute.java.lang.String
getTitle()
Returns the title attribute.java.lang.String
getType()
Returns the type attribute.int
hashCode()
void
setHref(java.lang.String href)
Sets the href attribute.void
setRel(java.lang.String[] rel)
Sets the rel attribute.void
setTitle(java.lang.String title)
Sets the title attribute.void
setType(java.lang.String type)
Sets the type attribute.java.lang.String
toString()
-
-
-
Method Detail
-
getRel
public java.lang.String[] getRel()
Returns the rel attribute.- Returns:
-
setRel
public void setRel(java.lang.String[] rel)
Sets the rel attribute.- Parameters:
rel
-
-
getHref
public java.lang.String getHref()
Returns the href attribute.- Returns:
-
setHref
public void setHref(java.lang.String href)
Sets the href attribute.- Parameters:
href
-
-
getTitle
public java.lang.String getTitle()
Returns the title attribute.- Returns:
-
setTitle
public void setTitle(java.lang.String title)
Sets the title attribute.- Parameters:
title
-
-
getType
public java.lang.String getType()
Returns the type attribute.- Returns:
-
setType
public void setType(java.lang.String type)
Sets the type attribute.- Parameters:
type
-
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-