public class StreamInitiation.Feature extends Object implements PacketExtension
Constructor and Description |
---|
StreamInitiation.Feature(DataForm data)
The dataform can be provided as part of the constructor.
|
Modifier and Type | Method and Description |
---|---|
DataForm |
getData()
Returns the dataform associated with the feature negotiation.
|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public StreamInitiation.Feature(DataForm data)
data
- The dataform.public DataForm getData()
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension