public class NinePatchIconConverter
extends com.thoughtworks.xstream.converters.reflection.ReflectionConverter
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.DuplicateFieldException, com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.UnknownFieldException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NEAR_CLASS_ATTRIBUTE
Converter constants.
|
| Constructor and Description |
|---|
NinePatchIconConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
Constructs NinePatchIconConverter with the specified mapper and reflection provider.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(java.lang.Class type) |
java.lang.Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public static final java.lang.String NEAR_CLASS_ATTRIBUTE
public NinePatchIconConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
mapper - mapperreflectionProvider - reflection providerpublic boolean canConvert(java.lang.Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class com.thoughtworks.xstream.converters.reflection.ReflectionConverterpublic java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.Converterunmarshal in class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter