Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class EntryRefType
extends Object

The XCAP entry-ref element.

Compliant with rfc4825, rfc4826

Author:
Grigorii Balutsel

Constructor Summary
EntryRefType()
          Creates the entry-ref element
EntryRefType(String ref)
          Creates the entry-ref element with the ref attribute.
 
Method Summary
 List<Element> getAny()
          Gets the value of the any property.
 Map<QName,String> getAnyAttributes()
          Gets the value of the anyAttributes property.
 DisplayNameType getDisplayName()
          Gets the value of the displayName property.
 String getRef()
          Gets the value of the ref property.
 void setDisplayName(DisplayNameType displayName)
          Sets the value of the displayName property.
 void setRef(String ref)
          Sets the value of the ref property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryRefType

EntryRefType()
Creates the entry-ref element


EntryRefType

public EntryRefType(String ref)
Creates the entry-ref element with the ref attribute.

Parameters:
ref - the ref attribute.
Throws:
IllegalArgumentException - if ref attribute is null or empty.
Method Detail

getRef

public String getRef()
Gets the value of the ref property.

Returns:
the ref property.

setRef

public void setRef(String ref)
Sets the value of the ref property.

Parameters:
ref - the ref to set.

getDisplayName

public DisplayNameType getDisplayName()
Gets the value of the displayName property.

Returns:
the displayName property.

setDisplayName

public void setDisplayName(DisplayNameType displayName)
Sets the value of the displayName property.

Parameters:
displayName - the displayName to set.

getAny

public List<Element> getAny()
Gets the value of the any property.

Returns:
the any property.

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.