org.glassfish.cafe.api.presence
Interface PresenceInformation

All Known Subinterfaces:
DeviceInformation, PersonInformation, ServiceInformation

public interface PresenceInformation

The generalisation of a category of presence information.


Nested Class Summary
static class PresenceInformation.Status
          Available Basic Status
 
Method Summary
 void addElement(Element element)
          Adds an Element to your Presence Information.
 Element getElementNS(String uri, String name)
          Returns an Element object belonging to this Presence Information.
 NodeList getElementsNS(String uri, String name)
          Returns an Element object belonging to this Presence Information.
 String getNote()
          Returns the first available note
 List<String> getNotes()
          Returns all available notes
 String getRpidClass()
          Returns the class value.
 String getTimeStamp()
          Returns time stamp.
 void setRpidClass(String rpidClass)
          Sets a class value.
 

Method Detail

addElement

void addElement(Element element)
Adds an Element to your Presence Information.


getElementNS

Element getElementNS(String uri,
                     String name)
Returns an Element object belonging to this Presence Information.


getElementsNS

NodeList getElementsNS(String uri,
                       String name)
Returns an Element object belonging to this Presence Information.


getTimeStamp

String getTimeStamp()
Returns time stamp.


getNote

String getNote()
Returns the first available note


getNotes

List<String> getNotes()
Returns all available notes


getRpidClass

String getRpidClass()
Returns the class value.


setRpidClass

void setRpidClass(String rpidClass)
Sets a class value.



Copyright © 2010. All Rights Reserved.