Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class ContentType
extends Object

The XCAP content element.

Compliant with Presence Content XDM Specification v1.0

Author:
Grigorii Balutsel

Constructor Summary
ContentType()
           
 
Method Summary
 List<Element> getAny()
          Gets the value of the any property.
 Map<QName,String> getAnyAttributes()
          Gets the value of the anyAttributes property.
 DataType getData()
          Gets the value of the data property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 EncodingType getEncoding()
          Gets the value of the encoding property.
 MimeType getMimeType()
          Gets the value of the mimeType 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 setData(DataType data)
          Sets the value of the data property.
 void setEncoding(EncodingType encoding)
          Sets the value of the encoding property.
 void setMimeType(MimeType mimeType)
          Sets the value of the mimeType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentType

public ContentType()
Method Detail

getMimeType

public MimeType getMimeType()
Gets the value of the mimeType property.

Returns:
the mimeType property.

setMimeType

public void setMimeType(MimeType mimeType)
Sets the value of the mimeType property.

Parameters:
mimeType - the mimeType to set.

getEncoding

public EncodingType getEncoding()
Gets the value of the encoding property.

Returns:
the encoding property.

setEncoding

public void setEncoding(EncodingType encoding)
Sets the value of the encoding property.

Parameters:
encoding - the encoding to set.

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description property.

Returns:
the description property.

getData

public DataType getData()
Gets the value of the data property.

Returns:
the data property.

setData

public void setData(DataType data)
Sets the value of the data property.

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