org.castor.jdo.conf

Class Driver

Implemented Interfaces:
java.io.Serializable

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

Class Driver.
Version:
$Revision: 5979 $ $Date$
See Also:
Serialized Form

Constructor Summary

Driver()

Method Summary

void
addParam(int index, Param vParam)
Method addParam
void
addParam(Param vParam)
Method addParam
void
clearParam()
Method clearParam
java.util.Enumeration
enumerateParam()
Method enumerateParam
java.lang.String
getClassName()
Returns the value of field 'className'.
Param[]
getParam()
Method getParam
Param
getParam(int index)
Method getParam
int
getParamCount()
Method getParamCount
java.lang.String
getUrl()
Returns the value of field 'url'.
boolean
isValid()
Method isValid
void
marshal(java.io.Writer out)
Method marshal
void
marshal(org.xml.sax.ContentHandler handler)
Method marshal
boolean
removeParam(Param vParam)
Method removeParam
void
setClassName(java.lang.String className)
Sets the value of field 'className'.
void
setParam(int index, Param vParam)
Method setParam
void
setParam(Param[] paramArray)
Method setParam
void
setUrl(java.lang.String url)
Sets the value of field 'url'.
static Driver
unmarshal(java.io.Reader reader)
Method unmarshal
void
validate()
Method validate

Constructor Details

Driver

public Driver()

Method Details

addParam

public void addParam(int index,
                     Param vParam)
            throws java.lang.IndexOutOfBoundsException
Method addParam
Parameters:
index -
vParam -

addParam

public void addParam(Param vParam)
            throws java.lang.IndexOutOfBoundsException
Method addParam
Parameters:
vParam -

clearParam

public void clearParam()
Method clearParam

enumerateParam

public java.util.Enumeration enumerateParam()
Method enumerateParam
Returns:
Enumeration

getClassName

public java.lang.String getClassName()
Returns the value of field 'className'.
Returns:
String

getParam

public Param[] getParam()
Method getParam
Returns:
Param

getParam

public Param getParam(int index)
            throws java.lang.IndexOutOfBoundsException
Method getParam
Parameters:
index -
Returns:
Param

getParamCount

public int getParamCount()
Method getParamCount
Returns:
int

getUrl

public java.lang.String getUrl()
Returns the value of field 'url'.
Returns:
String

isValid

public boolean isValid()
Method isValid
Returns:
boolean

marshal

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

marshal

public void marshal(org.xml.sax.ContentHandler handler)
            throws java.io.IOException,
                   MarshalException,
                   ValidationException
Method marshal
Parameters:
handler -

removeParam

public boolean removeParam(Param vParam)
Method removeParam
Parameters:
vParam -
Returns:
boolean

setClassName

public void setClassName(java.lang.String className)
Sets the value of field 'className'.
Parameters:
className - the value of field 'className'.

setParam

public void setParam(int index,
                     Param vParam)
            throws java.lang.IndexOutOfBoundsException
Method setParam
Parameters:
index -
vParam -

setParam

public void setParam(Param[] paramArray)
Method setParam
Parameters:
paramArray -

setUrl

public void setUrl(java.lang.String url)
Sets the value of field 'url'.
Parameters:
url - the value of field 'url'.

unmarshal

public static Driver unmarshal(java.io.Reader reader)
            throws MarshalException,
                   ValidationException
Method unmarshal
Parameters:
reader -
Returns:
Driver

validate

public void validate()
            throws ValidationException
Method validate

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