org.exolab.castor.jdo.conf
Class DatabaseChoice

java.lang.Object
  extended by org.exolab.castor.jdo.conf.DatabaseChoice
All Implemented Interfaces:
java.io.Serializable

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

Class DatabaseChoice.

Version:
$Revision: 1.2 $ $Date: 2005/03/05 13:41:50 $
See Also:
Serialized Form

Constructor Summary
DatabaseChoice()
           
 
Method Summary
 DataSource getDataSource()
          Returns the value of field 'dataSource'.
 Driver getDriver()
          Returns the value of field 'driver'.
 Jndi getJndi()
          Returns the value of field 'jndi'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setDataSource(DataSource dataSource)
          Sets the value of field 'dataSource'.
 void setDriver(Driver driver)
          Sets the value of field 'driver'.
 void setJndi(Jndi jndi)
          Sets the value of field 'jndi'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseChoice

public DatabaseChoice()
Method Detail

getDataSource

public DataSource getDataSource()
Returns the value of field 'dataSource'.

Returns:
the value of field 'dataSource'.

getDriver

public Driver getDriver()
Returns the value of field 'driver'.

Returns:
the value of field 'driver'.

getJndi

public Jndi getJndi()
Returns the value of field 'jndi'.

Returns:
the value of field 'jndi'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
MarshalException
ValidationException

setDataSource

public void setDataSource(DataSource dataSource)
Sets the value of field 'dataSource'.

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

setDriver

public void setDriver(Driver driver)
Sets the value of field 'driver'.

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

setJndi

public void setJndi(Jndi jndi)
Sets the value of field 'jndi'.

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

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws MarshalException,
                                         ValidationException
Method unmarshal

Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com