org.exolab.castor.mapping.xml

Class CacheTypeMapping

public class CacheTypeMapping extends Object implements Serializable

Class CacheTypeMapping.

Version: $Revision: 1.2 $ $Date: 2004/05/15 13:07:00 $

Constructor Summary
CacheTypeMapping()
Method Summary
voiddeleteCapacity()
Method deleteCapacity
intgetCapacity()
Returns the value of field 'capacity'.
StringgetType()
Returns the value of field 'type'.
booleanhasCapacity()
Method hasCapacity
booleanisValid()
Method isValid
voidmarshal(Writer out)
Method marshal
voidmarshal(ContentHandler handler)
Method marshal
voidsetCapacity(int capacity)
Sets the value of field 'capacity'.
voidsetType(String type)
Sets the value of field 'type'.
static Objectunmarshal(Reader reader)
Method unmarshal
voidvalidate()
Method validate

Constructor Detail

CacheTypeMapping

public CacheTypeMapping()

Method Detail

deleteCapacity

public void deleteCapacity()
Method deleteCapacity

getCapacity

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

Returns: the value of field 'capacity'.

getType

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

Returns: the value of field 'type'.

hasCapacity

public boolean hasCapacity()
Method hasCapacity

isValid

public boolean isValid()
Method isValid

marshal

public void marshal(Writer out)
Method marshal

Parameters: out

marshal

public void marshal(ContentHandler handler)
Method marshal

Parameters: handler

setCapacity

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

Parameters: capacity the value of field 'capacity'.

setType

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

Parameters: type the value of field 'type'.

unmarshal

public static Object unmarshal(Reader reader)
Method unmarshal

Parameters: reader

validate

public void validate()
Method validate
Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com