com.funambol.syncml.protocol
Class CTInfo

java.lang.Object
  extended by com.funambol.syncml.protocol.CTInfo

public class CTInfo
extends java.lang.Object

This class represents the content type information such as content type and version of content type


Constructor Summary
CTInfo()
          In order to expose the server configuration like WS this constructor must be public
CTInfo(java.lang.String ctType, java.lang.String verCT)
          Creates a new ContentTypeCapability object with the given content type and versione
 
Method Summary
 java.lang.String getCTType()
          Gets the content type properties
 java.lang.String getVerCT()
          Gets the version of the content type
 void setCTType(java.lang.String ctType)
          Sets the content type properties
 void setVerCT(java.lang.String verCT)
          Sets the version of the content type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CTInfo

public CTInfo()
In order to expose the server configuration like WS this constructor must be public


CTInfo

public CTInfo(java.lang.String ctType,
              java.lang.String verCT)
Creates a new ContentTypeCapability object with the given content type and versione

Parameters:
ctType - corresponds to <CTType> element in the SyncML specification - NOT NULL
verCT - corresponds to <VerCT> element in the SyncML specification - NOT NULL
Method Detail

getCTType

public java.lang.String getCTType()
Gets the content type properties

Returns:
the content type properties

setCTType

public void setCTType(java.lang.String ctType)
Sets the content type properties

Parameters:
ctType - the content type properties

getVerCT

public java.lang.String getVerCT()
Gets the version of the content type

Returns:
the version of the content type

setVerCT

public void setVerCT(java.lang.String verCT)
Sets the version of the content type

Parameters:
verCT - the version of the content type


Copyright © 2001-2009 Funambol.