public abstract class XMLOutputUtil
extends java.lang.Object
XMLOutput
Constructor and Description |
---|
XMLOutputUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
writeCollection(XMLOutput xmlOutput,
java.util.Collection<? extends XMLWriteable> collection)
Write a Collection of XMLWriteable objects.
|
static void |
writeElementList(XMLOutput xmlOutput,
java.lang.String tagName,
java.lang.Iterable<java.lang.String> listValues)
Write a list of Strings to document as elements with given tag name.
|
static void |
writeElementList(XMLOutput xmlOutput,
java.lang.String tagName,
java.util.Iterator<java.lang.String> listValueIterator)
Write a list of Strings to document as elements with given tag name.
|
static void |
writeFileList(XMLOutput xmlOutput,
java.lang.String tagName,
java.lang.Iterable<java.io.File> listValues)
Write a list of Strings to document as elements with given tag name.
|
static void |
writeFileList(XMLOutput xmlOutput,
java.lang.String tagName,
java.util.Iterator<java.io.File> listValueIterator)
Write a list of Strings to document as elements with given tag name.
|
public static void writeElementList(XMLOutput xmlOutput, java.lang.String tagName, java.lang.Iterable<java.lang.String> listValues) throws java.io.IOException
xmlOutput
- the XMLOutput object to write totagName
- the tag namelistValues
- Collection of String values to writejava.io.IOException
public static void writeElementList(XMLOutput xmlOutput, java.lang.String tagName, java.util.Iterator<java.lang.String> listValueIterator) throws java.io.IOException
xmlOutput
- the XMLOutput object to write totagName
- the tag namelistValueIterator
- Iterator over String values to writejava.io.IOException
public static void writeFileList(XMLOutput xmlOutput, java.lang.String tagName, java.lang.Iterable<java.io.File> listValues) throws java.io.IOException
xmlOutput
- the XMLOutput object to write totagName
- the tag namelistValues
- Collection of String values to writejava.io.IOException
public static void writeFileList(XMLOutput xmlOutput, java.lang.String tagName, java.util.Iterator<java.io.File> listValueIterator) throws java.io.IOException
xmlOutput
- the XMLOutput object to write totagName
- the tag namelistValueIterator
- Iterator over String values to writejava.io.IOException
public static void writeCollection(XMLOutput xmlOutput, java.util.Collection<? extends XMLWriteable> collection) throws java.io.IOException
xmlOutput
- the XMLOutput object to write tocollection
- Collection of XMLWriteable objectsjava.io.IOException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.