| Constructor and Description |
|---|
XMLOutputUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
writeCollection(XMLOutput xmlOutput,
Collection<? extends XMLWriteable> collection)
Write a Collection of XMLWriteable objects.
|
static void |
writeElementList(XMLOutput xmlOutput,
String tagName,
Iterable<String> listValues)
Write a list of Strings to document as elements with given tag name.
|
static void |
writeElementList(XMLOutput xmlOutput,
String tagName,
Iterator<String> listValueIterator)
Write a list of Strings to document as elements with given tag name.
|
static void |
writeFileList(XMLOutput xmlOutput,
String tagName,
Iterable<File> listValues)
Write a list of Strings to document as elements with given tag name.
|
static void |
writeFileList(XMLOutput xmlOutput,
String tagName,
Iterator<File> listValueIterator)
Write a list of Strings to document as elements with given tag name.
|
public static void writeElementList(XMLOutput xmlOutput, String tagName, Iterable<String> listValues) throws IOException
xmlOutput - the XMLOutput object to write totagName - the tag namelistValues - Collection of String values to writeIOExceptionpublic static void writeElementList(XMLOutput xmlOutput, String tagName, Iterator<String> listValueIterator) throws IOException
xmlOutput - the XMLOutput object to write totagName - the tag namelistValueIterator - Iterator over String values to writeIOExceptionpublic static void writeFileList(XMLOutput xmlOutput, String tagName, Iterable<File> listValues) throws IOException
xmlOutput - the XMLOutput object to write totagName - the tag namelistValues - Collection of String values to writeIOExceptionpublic static void writeFileList(XMLOutput xmlOutput, String tagName, Iterator<File> listValueIterator) throws IOException
xmlOutput - the XMLOutput object to write totagName - the tag namelistValueIterator - Iterator over String values to writeIOExceptionpublic static void writeCollection(XMLOutput xmlOutput, Collection<? extends XMLWriteable> collection) throws IOException
xmlOutput - the XMLOutput object to write tocollection - Collection of XMLWriteable objectsIOExceptionCopyright © 2003–2015. All rights reserved.