public class MultiPropertyConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
Constructor and Description |
---|
MultiPropertyConverter(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 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 MultiPropertyConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
arg0
- the mapperpublic static String getVersion()
public boolean canConvert(Class arg0)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
canConvert
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
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
marshal
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
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.collections.AbstractCollectionConverter
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.