org.exolab.castor.jdo.conf
Class Driver
java.lang.Object
org.exolab.castor.jdo.conf.Driver
- All Implemented Interfaces:
- java.io.Serializable
public class Driver
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.2 $ $Date: 2005/03/05 13:41:50 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Driver
public Driver()
addParam
public void addParam(Param vParam)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vParam
-
- Throws:
java.lang.IndexOutOfBoundsException
enumerateParam
public java.util.Enumeration enumerateParam()
getClassName
public java.lang.String getClassName()
getParam
public Param getParam(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
- Throws:
java.lang.IndexOutOfBoundsException
getParam
public Param[] getParam()
getParamCount
public int getParamCount()
getUrl
public java.lang.String getUrl()
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
removeAllParam
public void removeAllParam()
removeParam
public Param removeParam(int index)
- Parameters:
index
-
setClassName
public void setClassName(java.lang.String _className)
- Parameters:
_className
-
setParam
public void setParam(Param vParam,
int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vParam
- index
-
- Throws:
java.lang.IndexOutOfBoundsException
setUrl
public void setUrl(java.lang.String _url)
- Parameters:
_url
-
unmarshal
public static Driver 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-2004. All rights reserved http://www.intalio.com