com.caucho.xmpp.im
Class ImPresence

java.lang.Object
  extended by com.caucho.xmpp.im.ImPresence
All Implemented Interfaces:
java.io.Serializable

public class ImPresence
extends java.lang.Object
implements java.io.Serializable

Presence - rfc3921


 element presence {
   attribute from?
   & attribute id?
   & attribute to?
   & attribute type?

   & show?
   & status*
   & priority?
   & other*
   & error?
 }

 element priority {
   integer
 }

 element show {
   "away" | "chat" | "dnd" | "xa"
 }

 element status {
   attribute xml:lang?,
   string
 }
 

See Also:
Serialized Form

Constructor Summary
ImPresence(java.lang.String status)
           
ImPresence(java.lang.String to, java.lang.String from, java.lang.String show, Text status, int priority, java.util.ArrayList<java.io.Serializable> extraList)
           
 
Method Summary
 java.lang.String getFrom()
           
 Text getStatus()
           
 java.lang.String getTo()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImPresence

public ImPresence(java.lang.String status)

ImPresence

public ImPresence(java.lang.String to,
                  java.lang.String from,
                  java.lang.String show,
                  Text status,
                  int priority,
                  java.util.ArrayList<java.io.Serializable> extraList)
Method Detail

getStatus

public Text getStatus()

getTo

public java.lang.String getTo()

getFrom

public java.lang.String getFrom()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object