org.exolab.castor.mapping.xml
Class CacheTypeMapping

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

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

Class CacheTypeMapping.

Version:
$Revision: 6428 $ $Date: 2006-01-07 15:48:31 -0700 (Sat, 07 Jan 2006) $
See Also:
Serialized Form

Constructor Summary
CacheTypeMapping()
           
 
Method Summary
 void addParam(int index, Param vParam)
          Method addParam
 void addParam(Param vParam)
          Method addParam
 void clearParam()
          Method clearParam
 void deleteCapacity()
          Method deleteCapacity
 void deleteDebug()
          Method deleteDebug
 java.util.Enumeration enumerateParam()
          Method enumerateParam
 long getCapacity()
          Returns the value of field 'capacity'.
 boolean getDebug()
          Returns the value of field 'debug'.
 Param[] getParam()
          Method getParam
 Param getParam(int index)
          Method getParam
 int getParamCount()
          Method getParamCount
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean hasCapacity()
          Method hasCapacity
 boolean hasDebug()
          Method hasDebug
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeParam(Param vParam)
          Method removeParam
 void setCapacity(long capacity)
          Sets the value of field 'capacity'.
 void setDebug(boolean debug)
          Sets the value of field 'debug'.
 void setParam(int index, Param vParam)
          Method setParam
 void setParam(Param[] paramArray)
          Method setParam
 void setType(java.lang.String type)
          Sets the value of field 'type'.
static CacheTypeMapping unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheTypeMapping

public CacheTypeMapping()
Method Detail

addParam

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

Parameters:
vParam -
Throws:
java.lang.IndexOutOfBoundsException

addParam

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

Parameters:
index -
vParam -
Throws:
java.lang.IndexOutOfBoundsException

clearParam

public void clearParam()
Method clearParam


deleteCapacity

public void deleteCapacity()
Method deleteCapacity


deleteDebug

public void deleteDebug()
Method deleteDebug


enumerateParam

public java.util.Enumeration enumerateParam()
Method enumerateParam

Returns:
Enumeration

getCapacity

public long getCapacity()
Returns the value of field 'capacity'.

Returns:
int

getDebug

public boolean getDebug()
Returns the value of field 'debug'.

Returns:
boolean

getParam

public Param getParam(int index)
               throws java.lang.IndexOutOfBoundsException
Method getParam

Parameters:
index -
Returns:
Param
Throws:
java.lang.IndexOutOfBoundsException

getParam

public Param[] getParam()
Method getParam

Returns:
Param

getParamCount

public int getParamCount()
Method getParamCount

Returns:
int

getType

public java.lang.String getType()
Returns the value of field 'type'.

Returns:
String

hasCapacity

public boolean hasCapacity()
Method hasCapacity

Returns:
boolean

hasDebug

public boolean hasDebug()
Method hasDebug

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

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

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

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

Parameters:
handler -
Throws:
java.io.IOException
MarshalException
ValidationException

removeParam

public boolean removeParam(Param vParam)
Method removeParam

Parameters:
vParam -
Returns:
boolean

setCapacity

public void setCapacity(long capacity)
Sets the value of field 'capacity'.

Parameters:
capacity - the value of field 'capacity'.

setDebug

public void setDebug(boolean debug)
Sets the value of field 'debug'.

Parameters:
debug - the value of field 'debug'.

setParam

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

Parameters:
index -
vParam -
Throws:
java.lang.IndexOutOfBoundsException

setParam

public void setParam(Param[] paramArray)
Method setParam

Parameters:
paramArray -

setType

public void setType(java.lang.String type)
Sets the value of field 'type'.

Parameters:
type - the value of field 'type'.

unmarshal

public static CacheTypeMapping unmarshal(java.io.Reader reader)
                                  throws MarshalException,
                                         ValidationException
Method unmarshal

Parameters:
reader -
Returns:
CacheTypeMapping
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


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