public class RemoteConfigConverter extends Object implements com.thoughtworks.xstream.converters.Converter
| Constructor and Description |
|---|
RemoteConfigConverter(com.thoughtworks.xstream.XStream xStream)
Create remote config converter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
protected boolean |
isLegacyNode(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
Is the current reader node a legacy node?
|
protected Object |
legacyUnmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
Legacy unmarshalling of remote config
|
void |
marshal(Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public RemoteConfigConverter(com.thoughtworks.xstream.XStream xStream)
xStream - public boolean canConvert(Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcherpublic void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal in interface com.thoughtworks.xstream.converters.Converterprotected boolean isLegacyNode(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
reader - context - protected Object legacyUnmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
reader - context - public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.ConverterCopyright © 2004-2015. All Rights Reserved.