Class SingleValueDescriptionConverter
java.lang.Object
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
name.moore.kevin.ze.XMLdata.converters.SingleValueDescriptionConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher,com.thoughtworks.xstream.converters.SingleValueConverter
public class SingleValueDescriptionConverter
extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
Will convert XML <description> elements into a description component.
The description is held as a string value. While this is a trivial converter it maintains the general pattern for XML config processing.
- Author:
- Kevin Moore
<dev@kevin.moore.name>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
toString
-
Constructor Details
-
SingleValueDescriptionConverter
public SingleValueDescriptionConverter()
-
-
Method Details
-
canConvert
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher- Specified by:
canConvertin classcom.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter- Parameters:
type-- Returns:
-
fromString
- Specified by:
fromStringin interfacecom.thoughtworks.xstream.converters.SingleValueConverter- Specified by:
fromStringin classcom.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
-