}
}
public void writeEnabledMatchersAsXML(@WillClose OutputStream out) throws IOException {
XMLOutput xmlOutput = new OutputStreamXMLOutput(out);
try {
xmlOutput.beginDocument();
xmlOutput.openTag("FindBugsFilter");
Iterator<Matcher> i = childIterator();
while (i.hasNext()) {
Matcher child = i.next();
if (!disabled.containsKey(child)) {
child.writeXML(xmlOutput, false);
}
}
xmlOutput.closeTag("FindBugsFilter");
} finally {
xmlOutput.finish();
}
}