| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Tag |
build()
Build a
Tag object using this builder |
Tag.Builder |
owner(String owner)
Set the owner for the tag to be built.
|
static Tag.Builder |
tag(String name)
Returns a tag
Tag.Builder to build a Tag with the name
name |
static Tag.Builder |
tag(String name,
String owner)
Returns a tag
Tag.Builder to build a Tag with the name
name and owner owner |
static Tag.Builder |
tag(Tag tag)
Returns a
Tag.Builder to build a Tag which is a copy of
the given tag. |
XmlTag |
toXml()
Build a
XmlTag object using this builder |
public static Tag.Builder tag(Tag tag)
Tag.Builder to build a Tag which is a copy of
the given tag.tag - - the tag to be copiedTag.Builder with attributes initialized to the same
as tagpublic static Tag.Builder tag(String name)
Tag.Builder to build a Tag with the name
namename - - tag nameTag.Builder with name namepublic static Tag.Builder tag(String name, String owner)
Tag.Builder to build a Tag with the name
name and owner ownername - - the tag nameowner - - the tag owner idTag.Builder with name set to name and owner id
set to ownerpublic Tag.Builder owner(String owner)
owner - - owner idTag.Builder with owner set to ownerCopyright © 2016. All Rights Reserved.