edu.umd.cs.findbugs

Class BugAnnotationUtil

public abstract class BugAnnotationUtil extends Object

Utility methods for BugAnnotation classes.

Author: David Hovemeyer

Method Summary
static voidwriteXML(XMLOutput xmlOutput, String elementName, BugAnnotation annotation, XMLAttributeList attributeList, boolean addMessages)
Write a BugAnnotation as XML.

Method Detail

writeXML

public static void writeXML(XMLOutput xmlOutput, String elementName, BugAnnotation annotation, XMLAttributeList attributeList, boolean addMessages)
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: IOException

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.