public OutputParser(Element element) {
this.element = element;
}
public ConfigurableOutputFormat parse() {
ConfigurableOutputFormat outputFormat = new ConfigurableOutputFormat();
outputFormat.setWidths(ColumnWidths.parse(XmlReaderUtil.getElementString(element, "widths")));
outputFormat.setAdditional(XmlReaderUtil.getElementString(element, "additional"));
outputFormat.setNames(parseNames());
outputFormat.setFormats(parseFormats());
outputFormat.setHighlights(parseHighlights());
return outputFormat;
}