public class Tag extends Object implements NamedElement
Modifier and Type | Class and Description |
---|---|
static class |
Tag.Type |
Constructor and Description |
---|
Tag(String name,
Tag.Type type,
String value) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getName() |
Tag.Type |
getType() |
String |
getValue() |
String |
toString() |
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public String getElementName()
NamedElement
getElementName
in interface NamedElement