@CleanupObligation
public interface XMLOutput
| Modifier and Type | Method and Description | 
|---|---|
| void | addAttribute(java.lang.String name,
            java.lang.String value)Add an attribute to a started tag. | 
| void | beginDocument()Begin the XML document. | 
| void | closeTag(java.lang.String tagName)Close tag with given name. | 
| void | finish()Finish writing XML output, closing any underlying resources (such as
 output streams). | 
| void | openCloseTag(java.lang.String tagName)Open and close tag with given name. | 
| void | openCloseTag(java.lang.String tagName,
            XMLAttributeList attributeList)Open and close tag with given name and given attributes. | 
| void | openTag(java.lang.String tagName)Open a tag with given name. | 
| void | openTag(java.lang.String tagName,
       XMLAttributeList attributeList)Open a tag with given name and given attributes. | 
| void | startTag(java.lang.String tagName)Start a tag, with the intention of adding attributes. | 
| void | stopTag(boolean close)End a started tag. | 
| void | writeCDATA(java.lang.String cdata)Write a CDATA section to the XML document. | 
| void | writeText(java.lang.String text)Write text to the XML document. | 
void beginDocument()
            throws java.io.IOException
java.io.IOExceptionvoid openTag(java.lang.String tagName)
      throws java.io.IOException
tagName - the tag namejava.io.IOExceptionvoid openTag(java.lang.String tagName,
             XMLAttributeList attributeList)
      throws java.io.IOException
tagName - the tag nameattributeList - the attributesjava.io.IOExceptionvoid startTag(java.lang.String tagName)
       throws java.io.IOException
tagName - the tag namejava.io.IOExceptionvoid addAttribute(java.lang.String name,
                  java.lang.String value)
           throws java.io.IOException
name - the attribute name.value - the attribute value, unescaped.java.io.IOExceptionvoid stopTag(boolean close)
      throws java.io.IOException
close - true if the element has no content.java.io.IOExceptionvoid openCloseTag(java.lang.String tagName)
           throws java.io.IOException
tagName - the tag namejava.io.IOExceptionvoid openCloseTag(java.lang.String tagName,
                  XMLAttributeList attributeList)
           throws java.io.IOException
tagName - the tag nameattributeList - the attributesjava.io.IOExceptionvoid closeTag(java.lang.String tagName)
       throws java.io.IOException
tagName - the tag namejava.io.IOExceptionvoid writeText(java.lang.String text)
        throws java.io.IOException
text - the text to writejava.io.IOExceptionvoid writeCDATA(java.lang.String cdata)
         throws java.io.IOException
cdata - the character data to writejava.io.IOException@DischargesObligation
void finish()
                           throws java.io.IOException
java.io.IOExceptionSpotBugs is licensed under the LGPL.