|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.jdo.conf.DatabaseChoice
public class DatabaseChoice
Class DatabaseChoice.
| 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(ContentHandler handler)
|
void |
marshal(Writer out)
|
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 DatabaseChoice |
unmarshal(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 |
|---|
public DatabaseChoice()
| Method Detail |
|---|
public DataSource getDataSource()
public Driver getDriver()
public Jndi getJndi()
public boolean isValid()
public void marshal(Writer out)
throws MarshalException,
ValidationException
out -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
MarshalException,
ValidationException
handler -
IOException - if an IOException occurs during
marshaling
ValidationException - if this
object is an invalid instance according to the schema
MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setDataSource(DataSource dataSource)
dataSource - the value of field 'dataSource'.public void setDriver(Driver driver)
driver - the value of field 'driver'.public void setJndi(Jndi jndi)
jndi - the value of field 'jndi'.
public static DatabaseChoice unmarshal(Reader reader)
throws MarshalException,
ValidationException
reader -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws ValidationException
ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||