Class NESTGraphObjectConverter

java.lang.Object
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
de.uni_trier.wi2.procake.utils.io.xstream.DataObjectConverter
de.uni_trier.wi2.procake.utils.io.xstream.NESTGraphObjectConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.core.Caching

public class NESTGraphObjectConverter extends DataObjectConverter
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter

    com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.DuplicateFieldException, com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.UnknownFieldException
  • Field Summary

    Fields inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter

    mapper, reflectionProvider, serializationMembers, serializationMethodInvoker
  • Constructor Summary

    Constructors
    Constructor
    Description
    NESTGraphObjectConverter(com.thoughtworks.xstream.XStream xStream)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    marshal(Object original, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
     
    unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
     

    Methods inherited from class de.uni_trier.wi2.procake.utils.io.xstream.DataObjectConverter

    doBasicMarshal, isUseDataObjectIdRepresentation

    Methods inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter

    canAccess, doMarshal, doUnmarshal, flushCache, instantiateNewInstance, marshallField, readResolve, shouldUnmarshalField, shouldUnmarshalTransientFields, unmarshallField

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NESTGraphObjectConverter

      public NESTGraphObjectConverter(com.thoughtworks.xstream.XStream xStream)
  • Method Details

    • canConvert

      public boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
      Overrides:
      canConvert in class DataObjectConverter
    • marshal

      public void marshal(Object original, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
      Specified by:
      marshal in interface com.thoughtworks.xstream.converters.Converter
      Overrides:
      marshal in class DataObjectConverter
    • unmarshal

      public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
      Specified by:
      unmarshal in interface com.thoughtworks.xstream.converters.Converter
      Overrides:
      unmarshal in class DataObjectConverter