Class ObjectPropertyConverter
- java.lang.Object
-
- ch.sahits.game.openpatrician.utilities.service.converter.AbstractPropertyConverter<java.lang.Object>
-
- ch.sahits.game.openpatrician.utilities.service.converter.ObjectPropertyConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
@Deprecated(since="1.0.0") public class ObjectPropertyConverter extends AbstractPropertyConverter<java.lang.Object> implements com.thoughtworks.xstream.converters.Converter
Deprecated.This implementation has some issues with inlined properties and referenced properties. Use ObjectPropertyConverterV2 instead.Created at 17/09/11 11:10.- Author:
- Antoine Mischler
-
-
Field Summary
-
Fields inherited from class ch.sahits.game.openpatrician.utilities.service.converter.AbstractPropertyConverter
mapper
-
-
Constructor Summary
Constructors Constructor Description ObjectPropertyConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected javafx.beans.value.WritableValue<java.lang.Object>
createProperty()
Deprecated.protected java.lang.Class
readType(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
Deprecated.java.lang.Object
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
Deprecated.protected void
writeValue(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, java.lang.Object value)
Deprecated.-
Methods inherited from class ch.sahits.game.openpatrician.utilities.service.converter.AbstractPropertyConverter
canConvert, marshal
-
-
-
-
Method Detail
-
createProperty
protected javafx.beans.value.WritableValue<java.lang.Object> createProperty()
Deprecated.- Specified by:
createProperty
in classAbstractPropertyConverter<java.lang.Object>
-
readType
protected java.lang.Class readType(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
Deprecated.- Specified by:
readType
in classAbstractPropertyConverter<java.lang.Object>
-
writeValue
protected void writeValue(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, java.lang.Object value)
Deprecated.- Overrides:
writeValue
in classAbstractPropertyConverter<java.lang.Object>
-
unmarshal
public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
Deprecated.- Specified by:
unmarshal
in interfacecom.thoughtworks.xstream.converters.Converter
- Overrides:
unmarshal
in classAbstractPropertyConverter<java.lang.Object>
-
-