java.lang.Object | |
↳ | com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter |
Known Indirect Subclasses |
Base abstract implementation of SingleValueConverter
.
Subclasses should implement methods canConvert(Class) and fromString(String) for the conversion.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines whether the converter can marshall a particular type.
| |||||||||||
Unmarshals an Object from its single value representation.
| |||||||||||
Marshals an Object into a single value representation.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.thoughtworks.xstream.converters.ConverterMatcher
| |||||||||||
From interface
com.thoughtworks.xstream.converters.SingleValueConverter
|
Determines whether the converter can marshall a particular type.
type | the Class representing the object type to be converted |
---|
Unmarshals an Object from its single value representation.
str | the String with the single value of the Object |
---|
Marshals an Object into a single value representation.
obj | the Object to be converted |
---|
null