com.funambol.syncml.protocol
Class SyncMLCommand

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

public class SyncMLCommand
extends java.lang.Object

This class is a container for SyncML command


Constructor Summary
SyncMLCommand(java.lang.String name, java.lang.String cmdId)
           
SyncMLCommand(java.lang.String name, java.lang.String cmdId, java.lang.String type)
           
 
Method Summary
 java.lang.String getCmdId()
          Get the command id
 java.lang.String getName()
          Get the command tag name
 java.lang.String getType()
          Get the mime type of the items of this command
 void setType(java.lang.String type)
          Set the mime type of the items of this command
 java.lang.String toString()
          Return a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyncMLCommand

public SyncMLCommand(java.lang.String name,
                     java.lang.String cmdId)

SyncMLCommand

public SyncMLCommand(java.lang.String name,
                     java.lang.String cmdId,
                     java.lang.String type)
Method Detail

getName

public java.lang.String getName()
Get the command tag name


getCmdId

public java.lang.String getCmdId()
Get the command id


getType

public java.lang.String getType()
Get the mime type of the items of this command


setType

public void setType(java.lang.String type)
Set the mime type of the items of this command


toString

public java.lang.String toString()
Return a string representation of this object

Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 Funambol.