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
-
Constructor Summary
-
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, wait
Methods 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:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-