org.jivesoftware.sparkimpl.plugin.manager
Class Features

java.lang.Object
  extended by 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


Nested Class Summary
static class Features.Provider
           
 
Field Summary
static java.lang.String ELEMENT_NAME
          Element name of the packet extension.
static java.lang.String NAMESPACE
          Namespace of the packet extension.
 
Constructor Summary
Features()
           
 
Method Summary
 void addFeature(java.lang.String feature)
           
 java.util.List getAvailableFeatures()
           
 java.lang.String getElementName()
           
 java.lang.String getNamespace()
           
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Features

public Features()
Method Detail

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