Class HeadersExtension
java.lang.Object
org.jivesoftware.smackx.shim.packet.HeadersExtension
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
Extension representing a list of headers as specified in Stanza Headers and Internet Metadata (SHIM).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HeadersExtensionReturn the SHIM headers extension of this stanza or null if there is none.Returns the root element name.Returns the root element XML namespace.toXML(XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
QNAME
-
-
Constructor Details
-
HeadersExtension
-
-
Method Details
-
getHeaders
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
-
from
Return the SHIM headers extension of this stanza or null if there is none.- Parameters:
packet- TODO javadoc me please- Returns:
- the headers extension or null.
-