Class OfflineMessageRequest.Item
- java.lang.Object
-
- org.jivesoftware.smackx.offline.packet.OfflineMessageRequest.Item
-
- Enclosing class:
- OfflineMessageRequest
public static class OfflineMessageRequest.Item extends java.lang.Object
Item child that holds information about offline messages to view or delete.
-
-
Constructor Summary
Constructors Constructor Description Item(java.lang.String node)Creates a new item child.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAction()Returns "view" or "remove" that indicate if the server should return the specified offline message or delete it.java.lang.StringgetJid()java.lang.StringgetNode()voidsetAction(java.lang.String action)Sets if the server should return the specified offline message or delete it.voidsetJid(java.lang.String jid)java.lang.StringtoXML()
-
-
-
Constructor Detail
-
Item
public Item(java.lang.String node)
Creates a new item child.- Parameters:
node- the actor's affiliation to the room
-
-
Method Detail
-
getNode
public java.lang.String getNode()
-
getAction
public java.lang.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(java.lang.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 java.lang.String getJid()
-
setJid
public void setJid(java.lang.String jid)
-
toXML
public java.lang.String toXML()
-
-