public class ExtendPropertyConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
Constructor and Description |
---|
ExtendPropertyConverter(com.thoughtworks.xstream.mapper.Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type) |
void |
marshal(Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
protected void |
populateMap(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context,
ExtendProperties map) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public ExtendPropertyConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
mapper
- public boolean canConvert(Class type)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
canConvert
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal
in interface com.thoughtworks.xstream.converters.Converter
marshal
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
unmarshal
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
protected void populateMap(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, ExtendProperties map)
Copyright © 2006–2018 TinyGroup. All rights reserved.