Class ChatMarkersElements.DisplayedExtension
- java.lang.Object
-
- org.jivesoftware.smackx.chat_markers.element.ChatMarkersElements.ChatMarkerExtensionWithId
-
- org.jivesoftware.smackx.chat_markers.element.ChatMarkersElements.DisplayedExtension
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- ChatMarkersElements
public static class ChatMarkersElements.DisplayedExtension extends ChatMarkersElements.ChatMarkerExtensionWithId
Displayed extension class.- See Also:
- XEP-0333: Chat Markers
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
displayed element.static javax.xml.namespace.QName
QNAME
-
Fields inherited from class org.jivesoftware.smackx.chat_markers.element.ChatMarkersElements.ChatMarkerExtensionWithId
id
-
-
Constructor Summary
Constructors Constructor Description DisplayedExtension(java.lang.String id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChatMarkersElements.DisplayedExtension
from(Message message)
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.-
Methods inherited from class org.jivesoftware.smackx.chat_markers.element.ChatMarkersElements.ChatMarkerExtensionWithId
getId, toXML
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Constructor Detail
-
DisplayedExtension
public DisplayedExtension(java.lang.String id)
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Returns:
- the namespace.
-
from
public static ChatMarkersElements.DisplayedExtension from(Message message)
-
-