pawn.messages
Class PresenceQueryMessage

java.lang.Object
  |
  +--pawn.messages.PresenceQueryMessage
Direct Known Subclasses:
PresenceQuery

public abstract class PresenceQueryMessage
extends java.lang.Object

An abstract class defining a query for presence information. For the simple Presence service, the email address is used to identify user for whom we are requesting presence information.


Constructor Summary
PresenceQueryMessage()
           
 
Method Summary
abstract  net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType asMimeType)
          Returns a Document object containing the query's document tree.
 java.lang.String getEmailAddress()
          Retrieve the email address of the subject of the presence status query.
 void setEmailAddress(java.lang.String emailAddress)
          Set the email address of the subject of the presence status query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresenceQueryMessage

public PresenceQueryMessage()
Method Detail

getDocument

public abstract net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType asMimeType)
Returns a Document object containing the query's document tree.

Parameters:
asMimeType - the desired MIME type for the query rendering.
Returns:
the Document containing the query's document object tree.

getEmailAddress

public java.lang.String getEmailAddress()
Retrieve the email address of the subject of the presence status query.

Returns:
the email address used to identify the person for which presence information is being sought.

setEmailAddress

public void setEmailAddress(java.lang.String emailAddress)
Set the email address of the subject of the presence status query.

Parameters:
emailAddress - the email address used to identify the person for which presence information is being sought.