public class SampleSaveConfigurationConverter
extends com.thoughtworks.xstream.converters.reflection.ReflectionConverter
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.DuplicateFieldException, com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.UnknownFieldException
Constructor and Description |
---|
SampleSaveConfigurationConverter(com.thoughtworks.xstream.mapper.Mapper arg0) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class arg0) |
static String |
getVersion()
Returns the converter version; used to check for possible
incompatibilities
|
void |
marshal(Object obj,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public SampleSaveConfigurationConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
public static String getVersion()
public boolean canConvert(Class arg0)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
canConvert
in class com.thoughtworks.xstream.converters.reflection.ReflectionConverter
public void marshal(Object obj, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal
in interface com.thoughtworks.xstream.converters.Converter
marshal
in class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
unmarshal
in class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.