IDrapport = datecontrole.getTime() + rapport.getName();
boolean tropAno = (anomaliesTechniques != null && anomaliesTechniques.size() >= cch.MAX_ANOS && !anomaliesTechniques.get(0).getControleID().startsWith("TECH"));
+ rapportWriter.startRapport();
+
try {
JarDescription coreJd = ClassPathUtils.getJarDescriptionByContentValue(JarContentValue.CORE);
JarDescription controlCoreJd = ClassPathUtils.getJarDescriptionByContentValue(JarContentValue.CONTROL_CORE);
public RapportWriter(XmlOutputter rapportxml) {
rapport = rapportxml;
- startRapport();
}
- private void startRapport() {
+ public void startRapport() {
rapport.startTag("ano:DocumentRapport");
rapport.addAttribute("xmlns:ano", Anomalie.ANOMALY_NS_URI);
}