|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjimm.datavision.ListWriter
public class ListWriter
Writes the element of a list of Writeable objects as XML.
| Constructor Summary | |
|---|---|
ListWriter()
|
|
| Method Summary | |
|---|---|
static void |
writeList(XMLWriter out,
java.util.Collection list)
Writes the elements of a list of Writeable objects as XML. |
static void |
writeList(XMLWriter out,
java.util.Collection list,
java.lang.String name)
Writes the elements of a list of Writeable objects as XML. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListWriter()
| Method Detail |
|---|
public static void writeList(XMLWriter out,
java.util.Collection list)
writeXML method is called.
out - the writerlist - the collection of objects to write
public static void writeList(XMLWriter out,
java.util.Collection list,
java.lang.String name)
null, then each object's
writeXML method is called, then a closing tag is written if
needed. If the list is empty, nothing at all gets written.
out - the writerlist - the collection of objects to writename - the XML tag name to use; if null, no begin/end
element is written
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||