Class AdditionalFieldConverter
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class toConvert) void
marshal
(Object toMarshal, com.thoughtworks.xstream.io.HierarchicalStreamWriter hierarchicalStreamWriter, com.thoughtworks.xstream.converters.MarshallingContext marshallingContext) unmarshal
(com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext unmarshallingContext)
-
Constructor Details
-
AdditionalFieldConverter
-
-
Method Details
-
marshal
public void marshal(Object toMarshal, com.thoughtworks.xstream.io.HierarchicalStreamWriter hierarchicalStreamWriter, com.thoughtworks.xstream.converters.MarshallingContext marshallingContext) - Specified by:
marshal
in interfacecom.thoughtworks.xstream.converters.Converter
-
unmarshal
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext unmarshallingContext) - Specified by:
unmarshal
in interfacecom.thoughtworks.xstream.converters.Converter
-
canConvert
- Specified by:
canConvert
in interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-