public class TestOutcomeConverter extends Object implements com.thoughtworks.xstream.converters.Converter
| Modifier and Type | Field and Description |
|---|---|
static String |
ESCAPE_CHAR_FOR_NEW_LINE |
static String |
NEW_LINE_CHAR |
| Constructor and Description |
|---|
TestOutcomeConverter() |
| 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 static final String NEW_LINE_CHAR
public static final String ESCAPE_CHAR_FOR_NEW_LINE
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 © 2011–2014 Wakaleo Consulting. All rights reserved.