org.gxos.config
Class Configuration

java.lang.Object
  |
  +--org.gxos.config.ConfigurationType
        |
        +--org.gxos.config.Configuration
All Implemented Interfaces:
java.io.Serializable

public class Configuration
extends ConfigurationType
implements java.io.Serializable

Configuration file cannot have ConfigFile with DatabaseManager and CustomObjects elements defined at the same time.

See Also:
Serialized Form

Constructor Summary
Configuration()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static Configuration unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.gxos.config.ConfigurationType
getConfigFile, getConfigurationTypeSequence, getVersion, setConfigFile, setConfigurationTypeSequence, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class ConfigurationType

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class ConfigurationType
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class ConfigurationType
Parameters:
handler -  

unmarshal

public static Configuration unmarshal(java.io.Reader reader)
                               throws org.exolab.castor.xml.MarshalException,
                                      org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Overrides:
validate in class ConfigurationType