public abstract class BaseXStreamConverter extends Object implements XStreamConverter
Constructor and Description |
---|
BaseXStreamConverter() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canConvert(Class<?> clazz) |
protected abstract List<String> |
getFields() |
void |
marshal(Object object,
XStreamHierarchicalStreamWriter writer,
XStreamMarshallingContext xStreamMarshallingContext) |
abstract Object |
unmarshal(XStreamHierarchicalStreamReader xStreamHierarchicalStreamReader,
XStreamUnmarshallingContext xStreamUnmarshallingContext) |
public abstract boolean canConvert(Class<?> clazz)
canConvert
in interface XStreamConverter
public void marshal(Object object, XStreamHierarchicalStreamWriter writer, XStreamMarshallingContext xStreamMarshallingContext) throws Exception
marshal
in interface XStreamConverter
Exception
public abstract Object unmarshal(XStreamHierarchicalStreamReader xStreamHierarchicalStreamReader, XStreamUnmarshallingContext xStreamUnmarshallingContext) throws Exception
unmarshal
in interface XStreamConverter
Exception
protected abstract List<String> getFields()