public static class XStreamJSon.JSonInsertConverter extends XStreamJSon.BaseConverter implements com.thoughtworks.xstream.converters.Converter
mapper, reflectionProvider
Constructor and Description |
---|
XStreamJSon.JSonInsertConverter(com.thoughtworks.xstream.XStream xstream) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class clazz) |
void |
marshal(Object object,
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) |
readValue, writeValue
public XStreamJSon.JSonInsertConverter(com.thoughtworks.xstream.XStream xstream)
public void marshal(Object object, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal
in interface com.thoughtworks.xstream.converters.Converter
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
public boolean canConvert(Class clazz)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.