public static class ChatMarkersElements.DisplayedExtension extends Object implements ExtensionElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT
displayed element.
|
Constructor and Description |
---|
DisplayedExtension(String id) |
Modifier and Type | Method and Description |
---|---|
static ChatMarkersElements.DisplayedExtension |
from(Message message) |
String |
getElementName()
Returns the root element name.
|
String |
getId()
Get the id.
|
String |
getNamespace()
Returns the root element XML namespace.
|
CharSequence |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public DisplayedExtension(String id)
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public CharSequence toXML(String enclosingNamespace)
Element
public static ChatMarkersElements.DisplayedExtension from(Message message)