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