public interface SingleValueConverter extends ConverterMatcher
AbstractSingleValueConverter
provides a starting point for objects that can store all information in a single value String.
Converter
,
AbstractSingleValueConverter
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fromString(java.lang.String str)
Unmarshals an Object from its single value representation.
|
java.lang.String |
toString(java.lang.Object obj)
Marshals an Object into a single value representation.
|
canConvert
java.lang.String toString(java.lang.Object obj)
obj
- the Object to be convertednull
java.lang.Object fromString(java.lang.String str)
str
- the String with the single value of the ObjectCopyright © 2004–2022 XStream. All rights reserved.