public class DatabaseChoice extends Object implements Serializable
Constructor and Description |
---|
DatabaseChoice() |
Modifier and Type | Method and Description |
---|---|
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() |
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 marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException
handler
- IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- 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 marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2018. All rights reserved.