edu.umd.cs.findbugs.xml
public class Dom4JXMLOutput extends Object implements XMLOutput
See Also: XMLOutput
Constructor Summary | |
---|---|
Dom4JXMLOutput(Branch topLevel)
Constructor.
|
Method Summary | |
---|---|
void | addAttribute(String name, String value) |
void | beginDocument() |
void | closeTag(String tagName) |
void | finish() |
void | openCloseTag(String tagName) |
void | openCloseTag(String tagName, XMLAttributeList attributeList) |
void | openTag(String tagName) |
void | openTag(String tagName, XMLAttributeList attributeList) |
void | startTag(String tagName) |
void | stopTag(boolean close) |
void | write(XMLWriteable obj)
Add given object to the tree.
|
void | writeCDATA(String cdata) |
void | writeCollection(Collection<? extends XMLWriteable> collection)
Add a Collection of XMLWriteable objects to the tree.
|
void | writeElementList(String tagName, Collection<String> listValues)
Add a list of Strings to document as elements
with given tag name to the tree.
|
void | writeText(String text) |
Parameters: topLevel the Document or Element that is the root of the tree to be built
Parameters: obj the object
Parameters: collection Collection of XMLWriteable objects
Parameters: tagName the tag name listValues Collection of String values to add