|
||||||||
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 marshalling and unmarshalling.
Constructor Summary | |
---|---|
ContainerElement()
Creates a new empty ContainerElement |
|
ContainerElement(java.lang.Object object)
Creates a ContainerElement with the specified object |
Method Summary | |
---|---|
java.lang.Object |
getObject()
Returns the object contained within this ContainerElement |
java.lang.Object |
getParent()
Returns the parent of the contained object |
void |
setObject(java.lang.Object object)
Sets the object that is contained within this ContainerElement |
void |
setParent(java.lang.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(java.lang.Object object)
object
- the Object to setMethod Detail |
---|
public java.lang.Object getObject()
public java.lang.Object getParent()
public void setObject(java.lang.Object object)
object
- the Object to setpublic void setParent(java.lang.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 |