Class AbstractCoordinateFormat

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.text.DecimalFormat cDdFormatter
      The normal number format for server precision coordinates
      protected java.lang.String displayName  
      protected static java.lang.String EAST
      Character denoting East, as string
      protected java.lang.String id  
      protected static java.lang.String NORTH
      Character denoting North, as string
      protected static java.lang.String SOUTH
      Character denoting South, as string
      protected static java.lang.String WEST
      Character denoting West, as string
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractCoordinateFormat​(java.lang.String id, java.lang.String displayName)  
    • Field Detail

      • id

        protected final java.lang.String id
      • displayName

        protected final java.lang.String displayName
      • cDdFormatter

        protected static final java.text.DecimalFormat cDdFormatter
        The normal number format for server precision coordinates
      • SOUTH

        protected static final java.lang.String SOUTH
        Character denoting South, as string
      • NORTH

        protected static final java.lang.String NORTH
        Character denoting North, as string
      • WEST

        protected static final java.lang.String WEST
        Character denoting West, as string
      • EAST

        protected static final java.lang.String EAST
        Character denoting East, as string
    • Constructor Detail

    • Method Detail

      • newUnlocalizedDecimalFormat

        public static java.text.DecimalFormat newUnlocalizedDecimalFormat​(java.lang.String pattern)
        Creates a new unlocalized DecimalFormat. By not using the localized decimal separator, we can present a comma separated list of coordinates.
        Parameters:
        pattern - decimal format pattern
        Returns:
        DecimalFormat using dot as decimal separator
        Since:
        14203
        See Also:
        DecimalFormat.applyPattern(String)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object