com.calfater.mailcarbon.binding
Class ServerConfig

java.lang.Object
  extended by com.calfater.mailcarbon.binding.ServerConfig
All Implemented Interfaces:
java.io.Serializable

public class ServerConfig
extends java.lang.Object
implements java.io.Serializable

Class ServerConfig.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ServerConfig()
           
 
Method Summary
 java.util.Date getDate_()
          Returns the value of field 'date_'.
 Dst getDst()
          Returns the value of field 'dst'.
 Src getSrc()
          Returns the value of field 'src'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setDate_(java.util.Date date_)
          Sets the value of field 'date_'.
 void setDst(Dst dst)
          Sets the value of field 'dst'.
 void setSrc(Src src)
          Sets the value of field 'src'.
static ServerConfig unmarshal(java.io.Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConfig

public ServerConfig()
Method Detail

getDate_

public java.util.Date getDate_()
Returns the value of field 'date_'.

Returns:
the value of field 'Date_'.

getDst

public Dst getDst()
Returns the value of field 'dst'.

Returns:
the value of field 'Dst'.

getSrc

public Src getSrc()
Returns the value of field 'src'.

Returns:
the value of field 'Src'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setDate_

public void setDate_(java.util.Date date_)
Sets the value of field 'date_'.

Parameters:
date_ - the value of field 'date_'.

setDst

public void setDst(Dst dst)
Sets the value of field 'dst'.

Parameters:
dst - the value of field 'dst'.

setSrc

public void setSrc(Src src)
Sets the value of field 'src'.

Parameters:
src - the value of field 'src'.

unmarshal

public static ServerConfig unmarshal(java.io.Reader reader)
                              throws org.exolab.castor.xml.MarshalException,
                                     org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled com.calfater.mailcarbon.binding.ServerConfig
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright © 2010. All Rights Reserved.