org.exolab.castor.jdo.conf
Class DataSource

java.lang.Object
  extended byorg.exolab.castor.jdo.conf.DataSource
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.6 $ $Date: 2001/02/13 22:34:16 $
See Also:
Serialized Form

Constructor Summary
DataSource()
           
 
Method Summary
 javax.sql.DataSource createParams()
           
 java.lang.String getClassName()
           
 javax.sql.DataSource getParams()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setClassName(java.lang.String _className)
           
 void setParams(javax.sql.DataSource _params)
           
static DataSource 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
 

Constructor Detail

DataSource

public DataSource()
Method Detail

getClassName

public java.lang.String getClassName()

getParams

public javax.sql.DataSource getParams()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws MarshalException,
                    ValidationException
Parameters:
handler -
Throws:
MarshalException
ValidationException

setClassName

public void setClassName(java.lang.String _className)
Parameters:
_className -

setParams

public void setParams(javax.sql.DataSource _params)
Parameters:
_params -

createParams

public javax.sql.DataSource createParams()
                                  throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

unmarshal

public static DataSource unmarshal(java.io.Reader reader)
                            throws MarshalException,
                                   ValidationException
Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Throws:
ValidationException


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