public class IlvCoordinateFormatterDictionary extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
IlvCoordinateFormatterDictionary.MGRSConverter
A UTM coordinate formatter that has by default an MGRS Output
|
| Constructor and Description |
|---|
IlvCoordinateFormatterDictionary()
Creates an instance of the formatter dictionary and initializes it with
the formatters in the package.
|
| Modifier and Type | Method and Description |
|---|---|
IlvCoordinateFormatter |
createFormatter(String name,
IlvEllipsoid preferredEllipsoid)
Returns the formatter corresponding to the string passed as argument.
|
Enumeration<String> |
getFormatterNames()
Returns a list of the formatters supported by the dictionary.
|
void |
registerFormatter(String name,
Class<?> formatterClass)
Registers a new formatter.
|
boolean |
unregisterFormatter(String name)
Removes a formatter from the dictionary.
|
public IlvCoordinateFormatterDictionary()
public IlvCoordinateFormatter createFormatter(String name, IlvEllipsoid preferredEllipsoid)
name - name of the formatter (must be in getFormatterNames
enumeration)preferredEllipsoid - ellipsoid to be used for precise computations (or null)public Enumeration<String> getFormatterNames()
String.public void registerFormatter(String name, Class<?> formatterClass)
name - the name of the formatterformatterClass - the class that defines the formatter. This formatter class
must inherit from the class IlvFormatter and
have a constructor without argument.public boolean unregisterFormatter(String name)
name - name of the formatter.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.