public abstract class AbstractTextElement extends Object implements ExtensionElement
Modifier | Constructor and Description |
---|---|
protected |
AbstractTextElement(String text,
String lang) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getLang() |
String |
getText() |
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNamespace
public static final String ELEMENT
protected AbstractTextElement(String text, String lang)
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element