Public Member Functions

org.exolab.castor.xml.util.ContainerElement Class Reference

List of all members.

Public Member Functions

 ContainerElement ()
 ContainerElement (Object object)
Object getObject ()
Object getParent ()
void setObject (Object object)
void setParent (Object parent)

Detailed Description

A light-weight object used to wrap any object. This allows Castor to effectively "wrap" and "unwrap" elements during marshalling and unmarshalling.

Author:
Keith Visco

Constructor & Destructor Documentation

org.exolab.castor.xml.util.ContainerElement.ContainerElement (  ) 

Creates a new empty ContainerElement

org.exolab.castor.xml.util.ContainerElement.ContainerElement ( Object  object  ) 

Creates a ContainerElement with the specified object

Parameters:
object the Object to set

Member Function Documentation

Object org.exolab.castor.xml.util.ContainerElement.getObject (  ) 

Returns the object contained within this ContainerElement

Returns:
the object contained within this ContainerElement
Object org.exolab.castor.xml.util.ContainerElement.getParent (  ) 
void org.exolab.castor.xml.util.ContainerElement.setObject ( Object  object  ) 

Sets the object that is contained within this ContainerElement

Parameters:
object the Object to set
void org.exolab.castor.xml.util.ContainerElement.setParent ( Object  parent  ) 

Sets the parent of the contained object

Parameters:
parent the parent of the contained object

Referenced by org.exolab.castor.xml.handlers.ContainerFieldHandler.getValue(), and org.exolab.castor.xml.handlers.ContainerFieldHandler.newInstance().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties