Package com.adobe.reef.siren.builder
Class LinkBuilder
- java.lang.Object
-
- com.adobe.reef.siren.builder.Builder<Link>
-
- com.adobe.reef.siren.builder.LinkBuilder
-
-
Constructor Summary
Constructors Constructor Description LinkBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBuilder
clear()
Resets all fields to their default values.Link
doBuild()
LinkBuilder
setHref(java.lang.String href)
LinkBuilder
setRel(java.lang.String[] rel)
LinkBuilder
setTitle(java.lang.String title)
LinkBuilder
setType(java.lang.String type)
-
-
-
Method Detail
-
setHref
public LinkBuilder setHref(java.lang.String href)
-
setRel
public LinkBuilder setRel(java.lang.String[] rel)
-
setTitle
public LinkBuilder setTitle(java.lang.String title)
-
setType
public LinkBuilder setType(java.lang.String type)
-
clear
public LinkBuilder clear()
Description copied from class:Builder
Resets all fields to their default values.
-
doBuild
public Link doBuild() throws BuilderException
- Throws:
BuilderException
-
-