java.lang.Object
org.enableit.db.daf.conf.Driver
- All Implemented Interfaces:
- java.io.Serializable
- public class Driver
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.1 $ $Date: 2002/05/03 13:44:50 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_driverClass
private java.lang.String _driverClass
_url
private java.lang.String _url
_username
private java.lang.String _username
_password
private java.lang.String _password
Driver
public Driver()
getDriverClass
public java.lang.String getDriverClass()
- Returns the value of field 'driverClass'.
getPassword
public java.lang.String getPassword()
- Returns the value of field 'password'.
getUrl
public java.lang.String getUrl()
- Returns the value of field 'url'.
getUsername
public java.lang.String getUsername()
- Returns the value of field 'username'.
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
setDriverClass
public void setDriverClass(java.lang.String driverClass)
- Sets the value of field 'driverClass'.
setPassword
public void setPassword(java.lang.String password)
- Sets the value of field 'password'.
setUrl
public void setUrl(java.lang.String url)
- Sets the value of field 'url'.
setUsername
public void setUsername(java.lang.String username)
- Sets the value of field 'username'.
unmarshal
public static Driver unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException