A string that has been internationalized into several locales. This interface is used as a replacement for the
Stringtype whenever an attribute needs to be internationalization capable.
- See Also:
- Departure from OGC/ISO abstract specification:
Addition of element not in the ISO/OGC specificationAdded this new type in order to distinguish between localizable and non-localizable character strings. Not all character strings should be localizable; for example Well Know Text or code names should probably be language neutral. Since the ISO/OGC UML does not say which character strings are localizable and which ones are not, we have done our own guesses in GeoAPI.
toStringReturns this string in the given locale. If no string is available in the given locale, then some default locale is used. The default locale is implementation-dependent. It may or may not be the system default.
locale- The desired locale for the string to be returned, or
nullfor a string in the implementation default locale.
- The string in the given locale if available, or in the default locale otherwise.
toStringString toString()Returns this string in the default locale. The default locale is implementation-dependent. It may or may not be the system default. If the default locale is the system default (a recommended practice), then invoking this method is equivalent to invoking