public class HibernatePersistentSortedSetConverter extends TreeSetConverter
Constructor and Description |
---|
HibernatePersistentSortedSetConverter(Mapper mapper)
Construct a HibernatePersistentSortedSetConverter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(java.lang.Class type)
Determines whether the converter can marshall a particular type.
|
java.lang.Object |
unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context)
Convert textual data back into an object.
|
marshal
addCurrentElementToCollection, createCollection, populateCollection, populateCollection
mapper, readBareItem, readCompleteItem, readItem, writeBareItem, writeCompleteItem, writeItem, writeNullItem
public HibernatePersistentSortedSetConverter(Mapper mapper)
mapper
- public boolean canConvert(java.lang.Class type)
ConverterMatcher
canConvert
in interface ConverterMatcher
canConvert
in class CollectionConverter
type
- the Class representing the object type to be convertedpublic java.lang.Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)
Converter
unmarshal
in interface Converter
unmarshal
in class TreeSetConverter
reader
- The stream to read the text from.Copyright © 2004–2025 XStream. All rights reserved.