org.exolab.castor.mapping.xml
Class KeyGeneratorDef

java.lang.Object
  extended by org.exolab.castor.mapping.xml.KeyGeneratorDef
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:36 $
See Also:
Serialized Form

Constructor Summary
KeyGeneratorDef()
           
 
Method Summary
 void addParam(Param vParam)
           
 java.util.Enumeration enumerateParam()
           
 java.lang.String getAlias()
           
 java.lang.String getName()
           
 Param[] getParam()
           
 Param getParam(int index)
           
 int getParamCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllParam()
           
 Param removeParam(int index)
           
 void setAlias(java.lang.String _alias)
           
 void setName(java.lang.String _name)
           
 void setParam(Param[] paramArray)
           
 void setParam(Param vParam, int index)
           
static KeyGeneratorDef 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

KeyGeneratorDef

public KeyGeneratorDef()
Method Detail

addParam

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

enumerateParam

public java.util.Enumeration enumerateParam()

getAlias

public java.lang.String getAlias()

getName

public java.lang.String getName()

getParam

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

getParam

public Param[] getParam()

getParamCount

public int getParamCount()

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 -

setAlias

public void setAlias(java.lang.String _alias)
Parameters:
_alias -

setName

public void setName(java.lang.String _name)
Parameters:
_name -

setParam

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

setParam

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

unmarshal

public static KeyGeneratorDef 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