|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.util.ContainerElement
public class ContainerElement
A light-weight object used to wrap any object. This allows Castor to effectively "wrap" and "unwrap" elements during marshaling and unmarshaling.
| Constructor Summary | |
|---|---|
ContainerElement()
Creates a new empty ContainerElement. |
|
ContainerElement(Object object)
Creates a ContainerElement with the specified object. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerElement()
public ContainerElement(Object object)
object - the Object to set| Method Detail |
|---|
public Object getObject()
public Object getParent()
public void setObject(Object object)
object - the Object to setpublic void setParent(Object parent)
parent - the parent of the contained object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||