public class Link
extends java.lang.Object
| Constructor and Description |
|---|
Link(java.lang.String href)
Creates a new
Link with the given href. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHref()
Returns the href of the link.
|
boolean |
isTemplated()
Returns whether or not the
href is templated. |
java.lang.String |
toString() |
public Link(java.lang.String href)
Link with the given href.href - the hrefpublic java.lang.String getHref()
public boolean isTemplated()
href is templated.true if the href is templated, otherwise falsepublic java.lang.String toString()
toString in class java.lang.Object