|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingleValueConverter
SingleValueConverter implementations are marshallable to/from a single value String representation.
AbstractSingleValueConverter
provides a starting point for objects that can store all information in a single value String.
Converter
,
AbstractSingleValueConverter
Method Summary | |
---|---|
Object |
fromString(String str)
Unmarshals an Object from its single value representation. |
String |
toString(Object obj)
Marshals an Object into a single value representation. |
Methods inherited from interface com.thoughtworks.xstream.converters.ConverterMatcher |
---|
canConvert |
Method Detail |
---|
String toString(Object obj)
obj
- the Object to be converted
null
Object fromString(String str)
str
- the String with the single value of the Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |