public class ScriptWrapperConverter extends Object implements com.thoughtworks.xstream.converters.Converter
Constructor and Description |
---|
ScriptWrapperConverter(com.thoughtworks.xstream.mapper.Mapper classMapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class arg0) |
protected Class<?> |
getNextType(com.thoughtworks.xstream.io.HierarchicalStreamReader reader) |
static String |
getVersion()
Returns the converter version; used to check for possible
incompatibilities
|
void |
marshal(Object arg0,
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 ScriptWrapperConverter(com.thoughtworks.xstream.mapper.Mapper classMapper)
public static String getVersion()
public boolean canConvert(Class arg0)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
public void marshal(Object arg0, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal
in interface com.thoughtworks.xstream.converters.Converter
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
protected Class<?> getNextType(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.