Class BugAnnotationUtil


  • public abstract class BugAnnotationUtil
    extends java.lang.Object
    Utility methods for BugAnnotation classes.
    Author:
    David Hovemeyer
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void writeXML​(XMLOutput xmlOutput, java.lang.String elementName, BugAnnotation annotation, XMLAttributeList attributeList, boolean addMessages)
      Write a BugAnnotation as XML.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BugAnnotationUtil

        public BugAnnotationUtil()
    • Method Detail

      • writeXML

        public static void writeXML​(XMLOutput xmlOutput,
                                    java.lang.String elementName,
                                    BugAnnotation annotation,
                                    XMLAttributeList attributeList,
                                    boolean addMessages)
                             throws java.io.IOException
        Write a BugAnnotation as XML.
        Parameters:
        xmlOutput - the XMLOutput
        elementName - name of element for BugAnnotation
        annotation - the BugAnnotation
        attributeList - the XML attribute list
        addMessages - true if descriptive messages should be added
        Throws:
        java.io.IOException