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