org.opengis.util
Interface NameFactory
-
public interface NameFactoryFactory for generic names and international strings.- Since:
- GeoAPI 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description InternationalStringcreateInternationalString(java.util.Map<java.util.Locale,java.lang.String> strings)Creates an international string from a set of strings in different locales.LocalNamecreateLocalName(GenericName scope, java.lang.String name, InternationalString localizedName)Creates a local name from a scope and a name.ScopedNamecreateScopedName(GenericName scope, java.lang.String name, InternationalString localizedName)Creates a scoped name from a scope and a name.
-
-
-
Method Detail
-
createInternationalString
InternationalString createInternationalString(java.util.Map<java.util.Locale,java.lang.String> strings)
Creates an international string from a set of strings in different locales.- Parameters:
strings- String value for each locale key.
-
createLocalName
LocalName createLocalName(GenericName scope, java.lang.String name, InternationalString localizedName)
Creates a local name from a scope and a name. This method creates a name similar to the one created bycreateScopedName(…same parameters…), except that methods likegetParsedNames()andtoString()do not include the scope.- Parameters:
scope- The scope to be returned byLocalName.getScope(), ornullif none.name- The unlocalized name.localizedName- A localized version of the name.
-
createScopedName
ScopedName createScopedName(GenericName scope, java.lang.String name, InternationalString localizedName)
Creates a scoped name from a scope and a name. This method creates a name similar to the one created bycreateLocalName(…same parameters…), except that methods likegetParsedNames()andtoString()include the scope.- Parameters:
scope- The scope to be returned byScopedName.getScope().name- The unlocalized name.localizedName- A localized version of the name.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG