org.cafesip.sipunit
Class PresenceNote

java.lang.Object
  extended by org.cafesip.sipunit.PresenceNote

public class PresenceNote
extends java.lang.Object

This class represents a single Note element received in a NOTIFY SIP message. Notes are optional. Zero or more notes may be received at the top level of the NOTIFY message, pertaining to the presentity (buddy, watchee). Independently, zero or more notes may be received at the tuple (active device) level, pertaining to that particular device.


Method Summary
 java.lang.String getLanguage()
          Gets the language property of this note.
 java.lang.String getValue()
          Gets the text value of this note.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLanguage

public java.lang.String getLanguage()
Gets the language property of this note.

Returns:
String that is the language property.

getValue

public java.lang.String getValue()
Gets the text value of this note.

Returns:
String containing the text note content.


http://www.cafesip.org