Package com.attivio.util
Class XStreamSerializer.AttivioDefaultConverter
- java.lang.Object
-
- com.attivio.util.XStreamSerializer.AttivioDefaultConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
- Enclosing class:
- XStreamSerializer
protected static class XStreamSerializer.AttivioDefaultConverter extends java.lang.Object implements com.thoughtworks.xstream.converters.ConverterConverter that will throw an exception if anyone tries to convert an Attivio model object.This protects the
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttivioDefaultConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvert(java.lang.Class type)voidmarshal(java.lang.Object value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)java.lang.Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
-
-
Method Detail
-
canConvert
public boolean canConvert(java.lang.Class type)
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-
marshal
public void marshal(java.lang.Object value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)- Specified by:
marshalin interfacecom.thoughtworks.xstream.converters.Converter
-
unmarshal
public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)- Specified by:
unmarshalin interfacecom.thoughtworks.xstream.converters.Converter
-
-