Esempio n. 1
0
 public void marshal(Object value, HierarchicalStreamWriter writer, MarshallingContext context) {
   Converter converter =
       xstream.getConverterLookup().lookupConverterForType(initializer.getActualClass(value));
   initializer.initialize(value);
   converter.marshal(value, writer, context);
 }
Esempio n. 2
0
 public boolean canConvert(Class clazz) {
   return initializer.isProxy(clazz);
 }