org.exolab.castor.mapping.xml
Class Container

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

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:34 $
See Also:
Serialized Form

Constructor Summary
Container()
           
 
Method Summary
 void deleteDirect()
           
 void deleteRequired()
           
 java.lang.String getCreateMethod()
           
 java.lang.String getDescription()
           
 boolean getDirect()
           
 FieldMapping getFieldMapping()
           
 java.lang.String getGetMethod()
           
 java.lang.String getName()
           
 boolean getRequired()
           
 java.lang.String getSetMethod()
           
 java.lang.String getType()
           
 boolean hasDirect()
           
 boolean hasRequired()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setCreateMethod(java.lang.String _createMethod)
           
 void setDescription(java.lang.String _description)
           
 void setDirect(boolean _direct)
           
 void setFieldMapping(FieldMapping _fieldMapping)
           
 void setGetMethod(java.lang.String _getMethod)
           
 void setName(java.lang.String _name)
           
 void setRequired(boolean _required)
           
 void setSetMethod(java.lang.String _setMethod)
           
 void setType(java.lang.String _type)
           
static Container unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Container

public Container()
Method Detail

deleteDirect

public void deleteDirect()

deleteRequired

public void deleteRequired()

getCreateMethod

public java.lang.String getCreateMethod()

getDescription

public java.lang.String getDescription()

getDirect

public boolean getDirect()

getFieldMapping

public FieldMapping getFieldMapping()

getGetMethod

public java.lang.String getGetMethod()

getName

public java.lang.String getName()

getRequired

public boolean getRequired()

getSetMethod

public java.lang.String getSetMethod()

getType

public java.lang.String getType()

hasDirect

public boolean hasDirect()

hasRequired

public boolean hasRequired()

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

setCreateMethod

public void setCreateMethod(java.lang.String _createMethod)
Parameters:
_createMethod -

setDescription

public void setDescription(java.lang.String _description)
Parameters:
_description -

setDirect

public void setDirect(boolean _direct)
Parameters:
_direct -

setFieldMapping

public void setFieldMapping(FieldMapping _fieldMapping)
Parameters:
_fieldMapping -

setGetMethod

public void setGetMethod(java.lang.String _getMethod)
Parameters:
_getMethod -

setName

public void setName(java.lang.String _name)
Parameters:
_name -

setRequired

public void setRequired(boolean _required)
Parameters:
_required -

setSetMethod

public void setSetMethod(java.lang.String _setMethod)
Parameters:
_setMethod -

setType

public void setType(java.lang.String _type)
Parameters:
_type -

unmarshal

public static Container 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-2004. All rights reserved http://www.intalio.com