Class 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
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.thoughtworks.xstream.converters.Converter

        marshal
      • Methods inherited from interface com.thoughtworks.xstream.converters.ConverterMatcher

        canConvert
    • Constructor Detail

      • ObjectPropertyConverter

        public ObjectPropertyConverter​(com.thoughtworks.xstream.mapper.Mapper mapper)
        Deprecated.
    • Method Detail

      • readType

        protected java.lang.Class readType​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
        Deprecated.
        Specified by:
        readType in class AbstractPropertyConverter<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 class AbstractPropertyConverter<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 interface com.thoughtworks.xstream.converters.Converter
        Overrides:
        unmarshal in class AbstractPropertyConverter<java.lang.Object>