org.kuali.rice.krad.service.impl
Class XmlObjectSerializerServiceImpl.ProxyConverter
java.lang.Object
   com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
       com.thoughtworks.xstream.converters.reflection.ReflectionConverter
com.thoughtworks.xstream.converters.reflection.ReflectionConverter
           org.kuali.rice.krad.service.impl.XmlObjectSerializerServiceImpl.ProxyConverter
org.kuali.rice.krad.service.impl.XmlObjectSerializerServiceImpl.ProxyConverter
- All Implemented Interfaces: 
- com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
- Enclosing class:
- XmlObjectSerializerServiceImpl
- public class XmlObjectSerializerServiceImpl.ProxyConverter 
- extends com.thoughtworks.xstream.converters.reflection.ReflectionConverter
This custom converter only handles proxies for BusinessObjects.  List-type proxies are handled by configuring XStream to treat
 ListProxyDefaultImpl as ArrayLists (see constructor for this service).
 
| Nested classes/interfaces inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter | 
| com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.DuplicateFieldException | 
 
 
| Fields inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter | 
| mapper, reflectionProvider, serializationMethodInvoker | 
 
 
| Method Summary | 
|  boolean | canConvert(Class clazz)
 | 
|  void | marshal(Object obj,
               com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
               com.thoughtworks.xstream.converters.MarshallingContext context)
 | 
 
| Methods inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter | 
| doMarshal, doUnmarshal, instantiateNewInstance, marshallField, unmarshal, unmarshallField | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
XmlObjectSerializerServiceImpl.ProxyConverter
public XmlObjectSerializerServiceImpl.ProxyConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
                                                     com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
canConvert
public boolean canConvert(Class clazz)
- 
- Specified by:
- canConvertin interface- com.thoughtworks.xstream.converters.ConverterMatcher
- Overrides:
- canConvertin class- com.thoughtworks.xstream.converters.reflection.ReflectionConverter
 
- 
 
marshal
public void marshal(Object obj,
                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                    com.thoughtworks.xstream.converters.MarshallingContext context)
- 
- Specified by:
- marshalin interface- com.thoughtworks.xstream.converters.Converter
- Overrides:
- marshalin class- com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.