public abstract class AbstractConverter extends Object implements com.thoughtworks.xstream.converters.Converter
| Constructor and Description |
|---|
AbstractConverter() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canConvert(Class klass) |
protected int |
getInteger(String number) |
void |
marshal(Object object,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
abstract Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public abstract boolean canConvert(Class klass)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcherpublic void marshal(Object object, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal in interface com.thoughtworks.xstream.converters.Converterpublic abstract Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.Converterprotected int getInteger(String number)
Copyright © 2017. All Rights Reserved.