com.funambol.syncml.protocol
Class VerDTD

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

public class VerDTD
extends java.lang.Object

Corresponds to the <VerDTD> tag in the SyncML devinf DTD

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

Constructor Summary
VerDTD()
          In order to expose the server configuration like WS this constructor must be public
VerDTD(java.lang.String value)
          Creates a new VerDTD object with the given value
 
Method Summary
 void deserialize(java.io.DataInputStream in)
           
 boolean equals(java.lang.Object obj)
          Compares the string value to the specified input object.
 java.lang.String getValue()
          Gets value properties
 void serialize(java.io.DataOutputStream out)
           
 void setValue(java.lang.String value)
          Sets the version of DTD
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerDTD

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


VerDTD

public VerDTD(java.lang.String value)
Creates a new VerDTD object with the given value

Parameters:
value - the version - NOT NULL
Method Detail

getValue

public java.lang.String getValue()
Gets value properties

Returns:
value properties

setValue

public void setValue(java.lang.String value)
Sets the version of DTD

Parameters:
value - the version of DTD

equals

public boolean equals(java.lang.Object obj)
Compares the string value to the specified input object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to be compared
Returns:
true if the specified input object equals the value of the VerDTD object

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.