org.exolab.castor.mapping.xml

Class CacheTypeMapping

Implemented Interfaces:
java.io.Serializable

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

Class CacheTypeMapping.
Version:
$Revision: 6104 $ $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
int
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(java.io.Writer out)
Method marshal
void
marshal(org.xml.sax.ContentHandler handler)
Method marshal
boolean
removeParam(Param vParam)
Method removeParam
void
setCapacity(int 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

Constructor Details

CacheTypeMapping

public CacheTypeMapping()

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

deleteCapacity

public void deleteCapacity()
Method deleteCapacity

deleteDebug

public void deleteDebug()
Method deleteDebug

enumerateParam

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

getCapacity

public int 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()
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

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 -

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

setCapacity

public void setCapacity(int 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 -

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

validate

public void validate()
            throws ValidationException
Method validate

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