com.funambol.syncml.protocol
Class Ext

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

public class Ext
extends java.lang.Object

Corresponds to the <Ext> element in the SyncML devinf DTD and specifies the non-standard, experimental extensions supported by the device.

Version:
$Id: Ext.java,v 1.2 2007/07/30 22:10:05 stefano_fornari Exp $

Field Summary
static java.lang.String X_FUNAMBOL_MEDIA_UPLOAD_HTTP
           
static java.lang.String X_FUNAMBOL_MULTIPLE_EMAIL_ACCOUNT
           
static java.lang.String X_FUNAMBOL_SMARTSLOW
           
 
Constructor Summary
Ext()
          In order to expose the server configuration like WS this constructor must be public
Ext(java.lang.String xNam, java.lang.String[] xVal)
          Creates a new Ext object with the given name and value
 
Method Summary
 void addXVal(java.lang.String val)
           
 void deserialize(java.io.DataInputStream in)
           
 java.lang.String getXNam()
          Gets the name of the extension
 java.util.Vector getXVal()
          Gets an array of extension values, if exist
 void serialize(java.io.DataOutputStream out)
           
 void setXNam(java.lang.String xNam)
          Sets the name of extension
 void setXVal(java.lang.String[] xVal)
          Sets the array of extension value
 void setXVal(java.util.Vector xVal)
          Sets the array of extension value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X_FUNAMBOL_SMARTSLOW

public static final java.lang.String X_FUNAMBOL_SMARTSLOW
See Also:
Constant Field Values

X_FUNAMBOL_MULTIPLE_EMAIL_ACCOUNT

public static final java.lang.String X_FUNAMBOL_MULTIPLE_EMAIL_ACCOUNT
See Also:
Constant Field Values

X_FUNAMBOL_MEDIA_UPLOAD_HTTP

public static final java.lang.String X_FUNAMBOL_MEDIA_UPLOAD_HTTP
See Also:
Constant Field Values
Constructor Detail

Ext

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


Ext

public Ext(java.lang.String xNam,
           java.lang.String[] xVal)
Creates a new Ext object with the given name and value

Parameters:
xNam - corresponds to the <XNam> element - NOT NULL
xVal - an array of parameters that corresponds to the <XVal> element
Method Detail

getXNam

public java.lang.String getXNam()
Gets the name of the extension

Returns:
the name of the extension

setXNam

public void setXNam(java.lang.String xNam)
Sets the name of extension

Parameters:
xNam - the name of extension

getXVal

public java.util.Vector getXVal()
Gets an array of extension values, if exist

Returns:
an array of extension values, if exist

setXVal

public void setXVal(java.lang.String[] xVal)
Sets the array of extension value

Parameters:
xVal - the array of extension value

setXVal

public void setXVal(java.util.Vector xVal)
Sets the array of extension value

Parameters:
xVal - the array of extension value

addXVal

public void addXVal(java.lang.String val)

serialize

public void serialize(java.io.DataOutputStream out)
               throws java.io.IOException
Throws:
java.io.IOException

deserialize

public void deserialize(java.io.DataInputStream in)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2009 Funambol.