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: 1.2 $ $Date: 2004/05/15 13:07:00 $
See Also:
Serialized Form

Constructor Summary
CacheTypeMapping()
           
 
Method Summary
 void deleteCapacity()
          Method deleteCapacity
 int getCapacity()
          Returns the value of field 'capacity'.
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean hasCapacity()
          Method hasCapacity
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCapacity(int capacity)
          Sets the value of field 'capacity'.
 void setType(java.lang.String type)
          Sets the value of field 'type'.
static java.lang.Object 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

deleteCapacity

public void deleteCapacity()
Method deleteCapacity


getCapacity

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

Returns:
the value of field 'capacity'.

getType

public java.lang.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(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

setCapacity

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

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

setType

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

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

unmarshal

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

Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


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