public static final class Fingerprint.RangeSet.ConverterImpl extends Object implements com.thoughtworks.xstream.converters.Converter
Constructor and Description |
---|
ConverterImpl(com.thoughtworks.xstream.converters.Converter collectionConv) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type)
Check if the given class can be converted (i.e.
|
void |
marshal(Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
static String |
serialize(Fingerprint.RangeSet src)
Used to serialize the range sets (builds) of the fingerprint using commas and dashes.
|
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public ConverterImpl(com.thoughtworks.xstream.converters.Converter collectionConv)
public boolean canConvert(Class type)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal
in interface com.thoughtworks.xstream.converters.Converter
public static String serialize(Fingerprint.RangeSet src)
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
Copyright © 2004–2021. All rights reserved.