org.jivesoftware.sparkimpl.plugin.manager
Class Features
java.lang.Object
org.jivesoftware.sparkimpl.plugin.manager.Features
- All Implemented Interfaces:
- org.jivesoftware.smack.packet.PacketExtension
public class Features
- extends java.lang.Object
- implements org.jivesoftware.smack.packet.PacketExtension
Field Summary |
static java.lang.String |
ELEMENT_NAME
Element name of the packet extension. |
static java.lang.String |
NAMESPACE
Namespace of the packet extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- Element name of the packet extension.
- See Also:
- Constant Field Values
NAMESPACE
public static final java.lang.String NAMESPACE
- Namespace of the packet extension.
- See Also:
- Constant Field Values
Features
public Features()
getAvailableFeatures
public java.util.List getAvailableFeatures()
addFeature
public void addFeature(java.lang.String feature)
getElementName
public java.lang.String getElementName()
- Specified by:
getElementName
in interface org.jivesoftware.smack.packet.PacketExtension
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interface org.jivesoftware.smack.packet.PacketExtension
toXML
public java.lang.String toXML()
- Specified by:
toXML
in interface org.jivesoftware.smack.packet.PacketExtension