public final class Tag extends TagContent
Modifier and Type | Method and Description |
---|---|
static Tag |
tag(Namespace namespace,
TagName name,
Attributes attributes,
java.lang.Iterable<TagContent> children)
Factory method for making a
Tag . |
static Tag |
tag(Namespace namespace,
TagName name,
Attributes attributes,
TagContent... children)
Factory method for making a
Tag . |
java.lang.String |
toString() |
public static Tag tag(Namespace namespace, TagName name, Attributes attributes, TagContent... children)
Tag
.namespace
- the namespace of the tag.name
- the name of the tag.attributes
- the attributes of the tag.children
- the children of the tag, if any.Tag
representing the given parameters.public static Tag tag(Namespace namespace, TagName name, Attributes attributes, java.lang.Iterable<TagContent> children)
Tag
.namespace
- the namespace of the tag.name
- the name of the tag.attributes
- the attributes of the tag.children
- the children of the tag.Tag
representing the given parameters.public java.lang.String toString()
toString
in class java.lang.Object