java.lang.Object
ch.tocco.nice2.optional.qualification.impl.action.structureexport.util.converters.AdditionalFieldConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

public class AdditionalFieldConverter extends Object implements com.thoughtworks.xstream.converters.Converter
convert AdditionalFieldBean to human-readable, easier to parse xml
  • Constructor Details

    • AdditionalFieldConverter

      public AdditionalFieldConverter(TypeManager typeManager)
  • Method Details

    • marshal

      public void marshal(Object toMarshal, com.thoughtworks.xstream.io.HierarchicalStreamWriter hierarchicalStreamWriter, com.thoughtworks.xstream.converters.MarshallingContext marshallingContext)
      Specified by:
      marshal in interface com.thoughtworks.xstream.converters.Converter
    • unmarshal

      public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext unmarshallingContext)
      Specified by:
      unmarshal in interface com.thoughtworks.xstream.converters.Converter
    • canConvert

      public boolean canConvert(Class toConvert)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher