Class IvmlComparisonOperationDescriptorConverter

  • All Implemented Interfaces:
    com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

    public class IvmlComparisonOperationDescriptorConverter
    extends AbstractDescriptorConverter
    implements com.thoughtworks.xstream.converters.Converter
    Author:
    Sass
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canConvert​(java.lang.Class cls)
      Determines whether this converter instance handles the given class.
      void marshal​(java.lang.Object object, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
      Marshals a given object to the given writer in the specified marshaling context.
      • 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

        unmarshal
    • Constructor Detail

      • IvmlComparisonOperationDescriptorConverter

        public IvmlComparisonOperationDescriptorConverter()
    • Method Detail

      • canConvert

        public boolean canConvert​(java.lang.Class cls)
        Determines whether this converter instance handles the given class.
        Specified by:
        canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
        Parameters:
        cls - the class to be tested
        Returns:
        true if this instance handles class (this is only the case if it is a IvmlComparisonOperationDescriptor class), false else
      • marshal

        public void marshal​(java.lang.Object object,
                            com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                            com.thoughtworks.xstream.converters.MarshallingContext context)
        Marshals a given object to the given writer in the specified marshaling context. This method translates a IvmlComparisonOperationDescriptor type singleton to a name.
        Specified by:
        marshal in interface com.thoughtworks.xstream.converters.Converter
        Parameters:
        object - the object to be marshaled
        writer - the output stream writer
        context - the marshaling context