org.exolab.castor.xml.util
Class ContainerElement
java.lang.Object
org.exolab.castor.xml.util.ContainerElement
public class ContainerElement
extends java.lang.Object
A light-weight object used to wrap any object. This allows
Castor to effectively "wrap" and "unwrap" elements during
marshalling and unmarshalling.
Object | getObject() - Returns the object contained within this ContainerElement
|
Object | getParent() - Returns the parent of the contained object
|
void | setObject(Object object) - Sets the object that is contained within this ContainerElement
|
void | setParent(Object parent) - Sets the parent of the contained object
|
ContainerElement
public ContainerElement()
Creates a new empty ContainerElement
ContainerElement
public ContainerElement(Object object)
Creates a ContainerElement with the specified object
object
- the Object to set
getObject
public Object getObject()
Returns the object contained within this ContainerElement
- the object contained within this ContainerElement
getParent
public Object getParent()
Returns the parent of the contained object
- the parent of the contained object
setObject
public void setObject(Object object)
Sets the object that is contained within this ContainerElement
object
- the Object to set
setParent
public void setParent(Object parent)
Sets the parent of the contained object
parent
- the parent of the contained object
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com