public class ExtendPropertyConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
| 构造器和说明 |
|---|
ExtendPropertyConverter(com.thoughtworks.xstream.mapper.Mapper mapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 com.thoughtworks.xstream.converters.ConverterMatchercanConvert 在类中 com.thoughtworks.xstream.converters.collections.AbstractCollectionConverterpublic void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal 在接口中 com.thoughtworks.xstream.converters.Convertermarshal 在类中 com.thoughtworks.xstream.converters.collections.AbstractCollectionConverterpublic Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal 在接口中 com.thoughtworks.xstream.converters.Converterunmarshal 在类中 com.thoughtworks.xstream.converters.collections.AbstractCollectionConverterprotected void populateMap(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context,
ExtendProperties map)
Copyright © 2006–2018 TinyGroup. All rights reserved.