}
public void generate(Module module, Element element) {
if( !( module instanceof Slash) )
return;
Slash slash = (Slash) module;
if(slash.getComments() != null ){
element.addContent( this.generateSimpleElement("comments", slash.getComments().toString()));
}
if(slash.getDepartment() != null){
element.addContent( this.generateSimpleElement("department", slash.getDepartment()));
}
if(slash.getSection() != null){
element.addContent( this.generateSimpleElement("section", slash.getSection()));
}
if(slash.getHitParade() != null && slash.getHitParade().length > 0 ){
StringBuffer buff = new StringBuffer();
Integer[] p = slash.getHitParade();
for(int i=0; i < p.length; i++){
if(i!= 0)
buff.append(",");
buff.append( p[i] );
}