Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class EntryType
extends Object

The XCAP entry element.

Compliant with rfc4825, rfc4826

Author:
Grigorii Balutsel

Constructor Summary
EntryType()
          Create the entry element.
EntryType(String uri)
          Create the entry element with the uri 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 getUri()
          Gets the value of the uri property.
 void setAny(List<Element> any)
          Sets the value of the any property.
 void setAnyAttributes(Map<QName,String> anyAttributes)
          Sets the value of the anyAttributes property.
 void setDisplayName(DisplayNameType displayName)
          Sets the value of the displayName property.
 void setUri(String uri)
          Sets the value of the uri property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryType

EntryType()
Create the entry element.


EntryType

public EntryType(String uri)
Create the entry element with the uri attribute.

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

getUri

public String getUri()
Gets the value of the uri property.

Returns:
the uri property.

setUri

public void setUri(String uri)
Sets the value of the uri property.

Parameters:
uri - the uri 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.

setAny

public void setAny(List<Element> any)
Sets the value of the any property.

Parameters:
any - the any to set.

getAnyAttributes

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

Returns:
the anyAttributes property.

setAnyAttributes

public void setAnyAttributes(Map<QName,String> anyAttributes)
Sets the value of the anyAttributes property.

Parameters:
anyAttributes - the anyAttributes to set.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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