org.exolab.castor.mapping.xml
Class CacheTypeMapping
java.lang.Object
org.exolab.castor.mapping.xml.CacheTypeMapping
- All Implemented Interfaces:
- java.io.Serializable
public class CacheTypeMapping
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:33 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheTypeMapping
public CacheTypeMapping()
deleteCapacity
public void deleteCapacity()
getCapacity
public int getCapacity()
getType
public TypeType getType()
hasCapacity
public boolean hasCapacity()
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
setCapacity
public void setCapacity(int _capacity)
- Parameters:
_capacity
-
setType
public void setType(TypeType _type)
- Parameters:
_type
-
unmarshal
public static CacheTypeMapping 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-2003. All rights reserved http://www.intalio.com