smooks.addVisitor(new Value("customerName", "customer"));
smooks.addVisitor(new Value("customerNumber", "customer/@number")
.setDecoder(new IntegerDecoder()));
smooks.addVisitor(new Value("privatePerson", "privatePerson")
.setDecoder(new BooleanDecoder())
.setDefaultValue("true"));
JavaResult result = new JavaResult();
smooks.filterSource(new StreamSource(getClass().getResourceAsStream("../order-01.xml")), result);