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.String
getAction()
Returns "view" or "remove" that indicate if the server should return the specified offline message or delete it.java.lang.String
getJid()
java.lang.String
getNode()
void
setAction(java.lang.String action)
Sets if the server should return the specified offline message or delete it.void
setJid(java.lang.String jid)
java.lang.String
toXML()
-
-
-
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()
-
-