| Constructor and Description |
|---|
Link(String[] rel,
String href)
Constructs a new Link.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHref()
Returns the href attribute.
|
String[] |
getRel()
Returns the rel attribute.
|
String |
getTitle()
Returns the title attribute.
|
String |
getType()
Returns the type attribute.
|
int |
hashCode() |
void |
setHref(String href)
Sets the href attribute.
|
void |
setRel(String[] rel)
Sets the rel attribute.
|
void |
setTitle(String title)
Sets the title attribute.
|
void |
setType(String type)
Sets the type attribute.
|
String |
toString() |
public Link(String[] rel, String href) throws IllegalArgumentException
rel - href - IllegalArgumentException - if either rel or href
are null or empty.public String[] getRel()
public void setRel(String[] rel)
rel - public String getHref()
public void setHref(String href)
href - public String getTitle()
public void setTitle(String title)
title - public String getType()
public void setType(String type)
type - Copyright © 2010 - 2020 Adobe. All Rights Reserved