public class ScaleConverter
extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
Scale.| Constructor and Description |
|---|
ScaleConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
Object |
fromString(String str) |
static Scale |
pointFromString(String point)
Returns
Scale read from string. |
static String |
pointToString(Scale point)
Returns
Scale converted into string. |
String |
toString(Object obj) |
public boolean canConvert(@NotNull Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterpublic String toString(@NotNull Object obj)
toString in interface com.thoughtworks.xstream.converters.SingleValueConvertertoString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterpublic Object fromString(@NotNull String str)
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverterfromString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter@NotNull public static String pointToString(@NotNull Scale point)
Scale converted into string.Copyright © 2020. All rights reserved.