Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enableit.db.daf.conf
Class Driver  view Driver download Driver.java

java.lang.Object
  extended byorg.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 $

Field Summary
private  java.lang.String _driverClass
           
private  java.lang.String _password
           
private  java.lang.String _url
           
private  java.lang.String _username
           
 
Constructor Summary
Driver()
           
 
Method Summary
 java.lang.String getDriverClass()
          Returns the value of field 'driverClass'.
 java.lang.String getPassword()
          Returns the value of field 'password'.
 java.lang.String getUrl()
          Returns the value of field 'url'.
 java.lang.String getUsername()
          Returns the value of field 'username'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setDriverClass(java.lang.String driverClass)
          Sets the value of field 'driverClass'.
 void setPassword(java.lang.String password)
          Sets the value of field 'password'.
 void setUrl(java.lang.String url)
          Sets the value of field 'url'.
 void setUsername(java.lang.String username)
          Sets the value of field 'username'.
static Driver unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_driverClass

private java.lang.String _driverClass

_url

private java.lang.String _url

_username

private java.lang.String _username

_password

private java.lang.String _password
Constructor Detail

Driver

public Driver()
Method Detail

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