Class StreamInitiation.Feature
- java.lang.Object
-
- org.jivesoftware.smackx.si.packet.StreamInitiation.Feature
-
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
- Enclosing class:
- StreamInitiation
public static class StreamInitiation.Feature extends Object implements ExtensionElement
The feature negotiation portion of the StreamInitiation packet.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFormgetData()Returns the dataform associated with the feature negotiation.StringgetElementName()Returns the root element name.StringgetNamespace()Returns the root element XML namespace.StringtoXML(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
-
-
-
-
Method Detail
-
getData
public DataForm getData()
Returns the dataform associated with the feature negotiation.- Returns:
- Returns the dataform associated with the feature negotiation.
-
getElementName
public String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
toXML
public String toXML(XmlEnvironment enclosingNamespace)
-
-