Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip.xcap
Class XCapResource

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.sip.xcap.XCapResource

public class XCapResource
extends Object

XCAP resource.

Compliant with rfc4825

Author:
Grigorii Balutsel

Constructor Summary
XCapResource(XCapResourceId id, String content, String contentType)
          Creates XCAP resource with XCAP resource identifier, XCAP resource content and content-type.
 
Method Summary
 String getContent()
          Gets XCAP resource content.
 String getContentType()
          Gets XCAP resource content type.
 XCapResourceId getId()
          Gets XCAP resource identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XCapResource

public XCapResource(XCapResourceId id,
                    String content,
                    String contentType)
Creates XCAP resource with XCAP resource identifier, XCAP resource content and content-type.

Parameters:
id - the XCAP resource identifier.
content - the XCAP resource content.
contentType - the XCAP resource content type.
Method Detail

getId

public XCapResourceId getId()
Gets XCAP resource identifier.

Returns:
the XCAP resource identifier.

getContent

public String getContent()
Gets XCAP resource content.

Returns:
the XCAP resource content.

getContentType

public String getContentType()
Gets XCAP resource content type.

Returns:
the XCAP resource content type.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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