|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.xml.XMLOutputUtil
public abstract class XMLOutputUtil
Utility routines for writing to XMLOutput.
XMLOutput
Constructor Summary | |
---|---|
XMLOutputUtil()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLOutputUtil()
Method Detail |
---|
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 write
java.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 write
java.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 write
java.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 write
java.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 objects
java.io.IOException
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |