Smack

org.jivesoftware.smackx.workgroup.settings
Class OfflineSettings

java.lang.Object
  extended by org.jivesoftware.smack.packet.Packet
      extended by org.jivesoftware.smack.packet.IQ
          extended by org.jivesoftware.smackx.workgroup.settings.OfflineSettings

public class OfflineSettings
extends IQ


Nested Class Summary
static class OfflineSettings.InternalProvider
          Packet extension provider for AgentStatusRequest packets.
 
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ
IQ.Type
 
Field Summary
static String ELEMENT_NAME
          Element name of the packet extension.
static String NAMESPACE
          Namespace of the packet extension.
 
Fields inherited from class org.jivesoftware.smack.packet.Packet
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
 
Constructor Summary
OfflineSettings()
           
 
Method Summary
 String getChildElementXML()
          Returns the sub-element XML section of the IQ packet, or null if there isn't one.
 String getEmailAddress()
           
 String getOfflineText()
           
 String getRedirectURL()
           
 String getSubject()
           
 boolean isConfigured()
           
 boolean redirects()
           
 void setEmailAddress(String emailAddress)
           
 void setOfflineText(String offlineText)
           
 void setRedirectURL(String redirectURL)
           
 void setSubject(String subject)
           
 
Methods inherited from class org.jivesoftware.smack.packet.IQ
createErrorResponse, createResultIQ, getType, setType, toXML
 
Methods inherited from class org.jivesoftware.smack.packet.Packet
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_NAME

public static final String ELEMENT_NAME
Element name of the packet extension.

See Also:
Constant Field Values

NAMESPACE

public static final String NAMESPACE
Namespace of the packet extension.

See Also:
Constant Field Values
Constructor Detail

OfflineSettings

public OfflineSettings()
Method Detail

getRedirectURL

public String getRedirectURL()

setRedirectURL

public void setRedirectURL(String redirectURL)

getOfflineText

public String getOfflineText()

setOfflineText

public void setOfflineText(String offlineText)

getEmailAddress

public String getEmailAddress()

setEmailAddress

public void setEmailAddress(String emailAddress)

getSubject

public String getSubject()

setSubject

public void setSubject(String subject)

redirects

public boolean redirects()

isConfigured

public boolean isConfigured()

getChildElementXML

public String getChildElementXML()
Description copied from class: IQ
Returns the sub-element XML section of the IQ packet, or null if there isn't one. Packet extensions must be included, if any are defined.

Extensions of this class must override this method.

Specified by:
getChildElementXML in class IQ
Returns:
the child element section of the IQ XML.

Smack

Copyright © 2003-2007 Jive Software.