Class StreamInitiation.Feature
java.lang.Object
org.jivesoftware.smackx.si.packet.StreamInitiation.Feature
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
- Enclosing class:
- StreamInitiation
The feature negotiation portion of the StreamInitiation packet.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()Returns the dataform associated with the feature negotiation.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
-
QNAME
-
-
Constructor Details
-
Feature
The dataform can be provided as part of the constructor.- Parameters:
data- The dataform.
-
-
Method Details
-
getData
Returns the dataform associated with the feature negotiation.- Returns:
- Returns the dataform associated with the feature negotiation.
-
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
-