new ToAttributedValueConverter(
OpenSourceSoftware.class, mapper, reflectionProvider, converterLookup,
"license"), 0);
final Software[] software = new Software[]{
new Software("Microsoft", "Windows"),
new OpenSourceSoftware("Codehaus", "XStream", "BSD")};
final StringWriter writer = new StringWriter();
final PrettyPrintWriter prettyPrintWriter = new PrettyPrintWriter(writer);
new TreeMarshaller(prettyPrintWriter, converterLookup, mapper).start(software, null);
prettyPrintWriter.flush();