Smack

org.jivesoftware.smackx.packet
Class OfflineMessageRequest.Item

java.lang.Object
  extended by org.jivesoftware.smackx.packet.OfflineMessageRequest.Item
Enclosing class:
OfflineMessageRequest

public static class OfflineMessageRequest.Item
extends Object

Item child that holds information about offline messages to view or delete.

Author:
Gaston Dombiak

Constructor Summary
OfflineMessageRequest.Item(String node)
          Creates a new item child.
 
Method Summary
 String getAction()
          Returns "view" or "remove" that indicate if the server should return the specified offline message or delete it.
 String getJid()
           
 String getNode()
           
 void setAction(String action)
          Sets if the server should return the specified offline message or delete it.
 void setJid(String jid)
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfflineMessageRequest.Item

public OfflineMessageRequest.Item(String node)
Creates a new item child.

Parameters:
node - the actor's affiliation to the room
Method Detail

getNode

public String getNode()

getAction

public String getAction()
Returns "view" or "remove" that indicate if the server should return the specified offline message or delete it.

Returns:
"view" or "remove" that indicate if the server should return the specified offline message or delete it.

setAction

public void setAction(String action)
Sets if the server should return the specified offline message or delete it. Possible values are "view" or "remove".

Parameters:
action - if the server should return the specified offline message or delete it.

getJid

public String getJid()

setJid

public void setJid(String jid)

toXML

public String toXML()

Smack

Copyright © 2003-2007 Jive Software.