|
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.MobyCollection
public class MobyCollection
A specialized "envelope" that can carry a collection of other
envelopes (represented by MobySimple
s objects), and giving
them a name known as an article name for top-level
object.
Constructor Summary | |
---|---|
MobyCollection()
Default constructor. |
Method Summary | |
---|---|
void |
addData(MobySimple data)
Add one more element to this envelope. |
MobySimple[] |
getData()
Get the contents of this envelope. |
void |
setData(MobySimple[] data)
Fill this envelope with the objects carrying inside real data objects. |
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[] simples)
|
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 MobyCollection()
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[] simples)
public void setData(MobySimple[] data)
public void addData(MobySimple data)
public MobySimple[] getData()
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |