Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip.xcap.model.resourcelists
Class DisplayNameType

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.sip.xcap.model.resourcelists.DisplayNameType

public class DisplayNameType
extends Object

The XCAP display-name element.

Compliant with rfc4825, rfc4826

Author:
Grigorii Balutsel

Constructor Summary
DisplayNameType()
          Creates display-name.
DisplayNameType(String value, String lang)
          Creates display-name with value and lang properties.
 
Method Summary
 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

DisplayNameType

public DisplayNameType()
Creates display-name.


DisplayNameType

public DisplayNameType(String value,
                       String lang)
Creates display-name 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.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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