org.jivesoftware.sparkimpl.plugin.gateways
Class GatewayPrivateData
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
GatewayPrivateData
public GatewayPrivateData()
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