Class StringConverter.InternationalString
java.lang.Object
org.apache.sis.internal.converter.ClassPair<S,T>
org.apache.sis.internal.converter.SystemConverter<String,T>
org.apache.sis.internal.converter.StringConverter<org.opengis.util.InternationalString>
org.apache.sis.internal.converter.StringConverter.InternationalString
- All Implemented Interfaces:
Serializable
,Function<String,
,org.opengis.util.InternationalString> ObjectConverter<String,
org.opengis.util.InternationalString>
- Enclosing class:
- StringConverter<T>
public static final class StringConverter.InternationalString
extends StringConverter<org.opengis.util.InternationalString>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.internal.converter.StringConverter
StringConverter.Angle, StringConverter.BigDecimal, StringConverter.BigInteger, StringConverter.Boolean, StringConverter.Byte, StringConverter.Charset, StringConverter.CodeList<T extends org.opengis.util.CodeList<T>>, StringConverter.Double, StringConverter.Enum<T extends Enum<T>>, StringConverter.File, StringConverter.Float, StringConverter.Integer, StringConverter.InternationalString, StringConverter.Locale, StringConverter.Long, StringConverter.Number, StringConverter.Path, StringConverter.Short, StringConverter.Unit, StringConverter.URI, StringConverter.URL
-
Field Summary
FieldsFields inherited from class org.apache.sis.internal.converter.ClassPair
sourceClass, targetClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.opengis.util.InternationalString
Invoked byStringConverter.apply(String)
for converting the given string to the target type of this converter.Declares that the converter is bijective.Methods inherited from class org.apache.sis.internal.converter.StringConverter
apply, createInverse, inverse
Methods inherited from class org.apache.sis.internal.converter.SystemConverter
bijective, equals, formatErrorMessage, getSourceClass, getTargetClass, readResolve, unique
Methods inherited from class org.apache.sis.internal.converter.ClassPair
cast, hashCode, parentSource, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
InternationalString
public InternationalString()
-
-
Method Details
-
doConvert
Description copied from class:StringConverter
Invoked byStringConverter.apply(String)
for converting the given string to the target type of this converter.- Specified by:
doConvert
in classStringConverter<org.opengis.util.InternationalString>
- Parameters:
source
- the string to convert, guaranteed to be non-null and non-empty.- Returns:
- the converted value.
-
properties
Declares that the converter is bijective.- Specified by:
properties
in interfaceObjectConverter<String,
org.opengis.util.InternationalString> - Overrides:
properties
in classStringConverter<org.opengis.util.InternationalString>
- Returns:
- the manners in which source values are mapped to target values. May be an empty set, but never null.
-