Class ChatMarkersElements.MarkableExtension
- java.lang.Object
-
- org.jivesoftware.smackx.chat_markers.element.ChatMarkersElements.MarkableExtension
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- ChatMarkersElements
public static final class ChatMarkersElements.MarkableExtension extends java.lang.Object implements ExtensionElement
Markable extension class.- See Also:
- XEP-0333: Chat Markers
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
markable element.static ChatMarkersElements.MarkableExtension
INSTANCE
static javax.xml.namespace.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChatMarkersElements.MarkableExtension
from(Message message)
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.java.lang.CharSequence
toXML(XmlEnvironment enclosingNamespace)
-
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
-
-
-
-
Field Detail
-
INSTANCE
public static final ChatMarkersElements.MarkableExtension INSTANCE
-
ELEMENT
public static final java.lang.String ELEMENT
markable element.
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
toXML
public java.lang.CharSequence toXML(XmlEnvironment enclosingNamespace)
-
from
public static ChatMarkersElements.MarkableExtension from(Message message)
-
-