public static final class NodeList.ConverterImpl extends RobustCollectionConverter
Converter implementation for XStream.
Serialization form is compatible with plain List.| Constructor and Description |
|---|
ConverterImpl(com.thoughtworks.xstream.XStream xstream) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
protected Object |
createCollection(Class type) |
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) |
populateCollectionaddCurrentElementToCollection, populateCollectionpublic boolean canConvert(Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class RobustCollectionConverterpublic void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal in interface com.thoughtworks.xstream.converters.Convertermarshal in class com.thoughtworks.xstream.converters.collections.CollectionConverterprotected Object createCollection(Class type)
createCollection in class com.thoughtworks.xstream.converters.collections.CollectionConverterpublic Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal in interface com.thoughtworks.xstream.converters.Converterunmarshal in class RobustCollectionConverterCopyright © 2019. All rights reserved.