org.jivesoftware.sparkimpl.plugin.gateways
Class GatewayPrivateData

java.lang.Object
  extended by org.jivesoftware.sparkimpl.plugin.gateways.GatewayPrivateData
All Implemented Interfaces:
org.jivesoftware.smackx.packet.PrivateData

public class GatewayPrivateData
extends java.lang.Object
implements org.jivesoftware.smackx.packet.PrivateData

Handle Gateway preferences through private data to persist through seperate locations of the client.

Author:
Derek DeMoro

Nested Class Summary
static class GatewayPrivateData.ConferencePrivateDataProvider
           
 
Field Summary
static java.lang.String ELEMENT
           
static java.lang.String NAMESPACE
           
 
Constructor Summary
GatewayPrivateData()
           
 
Method Summary
 void addService(java.lang.String serviceName, boolean autoLogin)
           
 boolean autoLogin(java.lang.String serviceName)
           
 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

public static final java.lang.String ELEMENT
See Also:
Constant Field Values

NAMESPACE

public static final java.lang.String NAMESPACE
See Also:
Constant Field Values
Constructor Detail

GatewayPrivateData

public GatewayPrivateData()
Method Detail

addService

public void addService(java.lang.String serviceName,
                       boolean autoLogin)

autoLogin

public boolean autoLogin(java.lang.String serviceName)

getElementName

public java.lang.String getElementName()
Specified by:
getElementName in interface org.jivesoftware.smackx.packet.PrivateData

getNamespace

public java.lang.String getNamespace()
Specified by:
getNamespace in interface org.jivesoftware.smackx.packet.PrivateData

toXML

public java.lang.String toXML()
Specified by:
toXML in interface org.jivesoftware.smackx.packet.PrivateData