public class BooleanPropertyConverter extends Object implements com.thoughtworks.xstream.converters.Converter
Constructor and Description |
---|
BooleanPropertyConverter() |
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 arg2) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public static String getVersion()
public boolean canConvert(Class arg0)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
public void marshal(Object obj, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext arg2)
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
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.