public class HashTreeConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
Constructor and Description |
---|
HashTreeConverter(com.thoughtworks.xstream.mapper.Mapper arg0) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(java.lang.Class arg0) |
static java.lang.String |
getVersion()
Returns the converter version; used to check for possible
incompatibilities
|
void |
marshal(java.lang.Object arg0,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
java.lang.Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public HashTreeConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
public static java.lang.String getVersion()
public boolean canConvert(java.lang.Class arg0)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
canConvert
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
public void marshal(java.lang.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 java.lang.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.