com.calfater.mailcarbon.binding
Class ConfigManagerBinding

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

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

The configuration manager can load and save configuration.

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

Constructor Summary
ConfigManagerBinding()
           
 
Method Summary
 FolderManagerBinding getFolderManagerBinding()
          Returns the value of field 'folderManagerBinding'.
 MessageManagerBinding getMessageManagerBinding()
          Returns the value of field 'messageManagerBinding'.
 ServerConfig getServerConfig()
          Returns the value of field 'serverConfig'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setFolderManagerBinding(FolderManagerBinding folderManagerBinding)
          Sets the value of field 'folderManagerBinding'.
 void setMessageManagerBinding(MessageManagerBinding messageManagerBinding)
          Sets the value of field 'messageManagerBinding'.
 void setServerConfig(ServerConfig serverConfig)
          Sets the value of field 'serverConfig'.
static ConfigManagerBinding 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

ConfigManagerBinding

public ConfigManagerBinding()
Method Detail

getFolderManagerBinding

public FolderManagerBinding getFolderManagerBinding()
Returns the value of field 'folderManagerBinding'.

Returns:
the value of field 'FolderManagerBinding'.

getMessageManagerBinding

public MessageManagerBinding getMessageManagerBinding()
Returns the value of field 'messageManagerBinding'.

Returns:
the value of field 'MessageManagerBinding'.

getServerConfig

public ServerConfig getServerConfig()
Returns the value of field 'serverConfig'.

Returns:
the value of field 'ServerConfig'.

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

setFolderManagerBinding

public void setFolderManagerBinding(FolderManagerBinding folderManagerBinding)
Sets the value of field 'folderManagerBinding'.

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

setMessageManagerBinding

public void setMessageManagerBinding(MessageManagerBinding messageManagerBinding)
Sets the value of field 'messageManagerBinding'.

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

setServerConfig

public void setServerConfig(ServerConfig serverConfig)
Sets the value of field 'serverConfig'.

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

unmarshal

public static ConfigManagerBinding 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.ConfigManagerBinding
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.