public class TestOutcomeConverter
extends java.lang.Object
implements com.thoughtworks.xstream.converters.Converter
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(java.lang.Class clazz)
Determines which classes this converter applies to.
|
void |
marshal(java.lang.Object value,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
Generate an XML report given an TestOutcome object.
|
java.lang.Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
Convert XML to an TestOutcome object.
|
public boolean canConvert(java.lang.Class clazz)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcherpublic void marshal(java.lang.Object value,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
marshal in interface com.thoughtworks.xstream.converters.Converterpublic java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.Converter