Package org.jivesoftware.smack.packet
Interface ExtensionElement
-
- All Superinterfaces:
Element,NamedElement,XmlElement,XmlLangElement
- All Known Implementing Classes:
AbstractTextElement,Bind.Feature,Compress.Feature,Mechanisms,Message.Body,Message.Subject,Message.Thread,Session.Feature,StanzaError,StanzaErrorTextElement
public interface ExtensionElement extends XmlElement
Interface to represent XMPP extension elements. UnlikeXmlElement, every non-abstract class that implementsExtensionElementmust have a static final QNAME member of the typeQName. This allows type-safe functions likeStanzaView.getExtension(Class). Hence this is a marker interface.Use this class when implementing new extension elements when possible. This means that every instance of your implemented class must represent an XML element of the same qualified name.
- See Also:
- RFC 6120 ยง 8.4 Extended Content
-
-
Method Summary
-
Methods inherited from interface org.jivesoftware.smack.packet.NamedElement
getElementName
-
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getNamespace, getQName
-
-