edu.umd.cs.findbugs.xml
public interface XMLOutput
Method Summary | |
---|---|
void | addAttribute(String name, String value)
Add an attribute to a started tag.
|
void | beginDocument()
Begin the XML document. |
void | closeTag(String tagName)
Close tag with given name.
|
void | finish()
Finish writing XML output, closing any underlying
resources (such as output streams).
|
void | openCloseTag(String tagName)
Open and close tag with given name.
|
void | openCloseTag(String tagName, XMLAttributeList attributeList)
Open and close tag with given name and given attributes.
|
void | openTag(String tagName)
Open a tag with given name.
|
void | openTag(String tagName, XMLAttributeList attributeList)
Open a tag with given name and given attributes.
|
void | startTag(String tagName)
Start a tag, with the intention of adding attributes.
|
void | stopTag(boolean close)
End a started tag.
|
void | writeCDATA(String cdata)
Write a CDATA section to the XML document.
|
void | writeText(String text)
Write text to the XML document.
|
Parameters: name the attribute name. value the attribute value, unescaped.
Parameters: tagName the tag name
Parameters: tagName the tag name
Parameters: tagName the tag name attributeList the attributes
Parameters: tagName the tag name
Parameters: tagName the tag name attributeList the attributes
Parameters: tagName the tag name
Parameters: close true if the element has no content.
Parameters: cdata the character data to write
Parameters: text the text to write