|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.shared.parser.MobyDataElement org.biomoby.shared.parser.MobySimple
public class MobySimple
A specialized "envelope" that can carry one real Biomoby data object, and gives it (usually) a name, also known as an article name for top-level object.
Constructor Summary | |
---|---|
MobySimple()
Default constructor. |
Method Summary | |
---|---|
MobyObject |
getData()
Return the contents of this envelope. |
void |
setData(MobyObject data)
Fill this envelope with a Biomoby object. |
String |
toString()
Format all non-empty public members in a human-readable way. |
org.jdom.Element |
toXML()
Create an XML element representing this object. |
static org.jdom.Element |
toXML(String articleName,
org.jdom.Element data)
|
Methods inherited from class org.biomoby.shared.parser.MobyDataElement |
---|
format, getName, setName, toXML |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MobySimple()
Method Detail |
---|
public String toString()
MobyDataElement
toString
in class MobyDataElement
for making the returned string better indented
public org.jdom.Element toXML()
MobyDataElement
toXML
in class MobyDataElement
public static org.jdom.Element toXML(String articleName, org.jdom.Element data)
public void setData(MobyObject data)
public MobyObject getData()
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |