Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip.xcap.model.prescontent
Class DescriptionType

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.sip.xcap.model.prescontent.DescriptionType

public class DescriptionType
extends Object

The PRES-CONTENT description element.

Compliant with Presence Content XDM Specification v1.0

Author:
Grigorii Balutsel

Constructor Summary
DescriptionType()
          Creates description.
DescriptionType(String value)
          Creates description with value.
DescriptionType(String value, String lang)
          Creates description with value and lang properties.
 
Method Summary
 Map<QName,String> getAnyAttributes()
          Gets the value of the anyAttributes property.
 String getLang()
          Gets the value of the lang property.
 String getValue()
          Gets the value of the value property.
 void setLang(String lang)
          Sets the value of the lang property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptionType

public DescriptionType()
Creates description.


DescriptionType

public DescriptionType(String value)
Creates description with value.

Parameters:
value - the value property.

DescriptionType

public DescriptionType(String value,
                       String lang)
Creates description with value and lang properties.

Parameters:
value - the value property.
lang - the lang property.
Method Detail

getValue

public String getValue()
Gets the value of the value property.

Returns:
the value property.

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - the value to set.

getLang

public String getLang()
Gets the value of the lang property.

Returns:
the lang property.

setLang

public void setLang(String lang)
Sets the value of the lang property.

Parameters:
lang - the lang to set.

getAnyAttributes

public Map<QName,String> getAnyAttributes()
Gets the value of the anyAttributes property.

Returns:
the anyAttributes property.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.