Enum TransverseMercator.Variant

java.lang.Object
java.lang.Enum<TransverseMercator.Variant>
org.apache.sis.referencing.operation.projection.TransverseMercator.Variant
All Implemented Interfaces:
Serializable, Comparable<TransverseMercator.Variant>, java.lang.constant.Constable, ProjectionVariant
Enclosing class:
TransverseMercator

private static enum TransverseMercator.Variant extends Enum<TransverseMercator.Variant> implements ProjectionVariant
Variants of the map projection. Currently this is informative only (the south variant is handled with NormalizedProjection.ParameterRole instead).
  • Enum Constant Details

    • SOUTH_ORIENTATED

      public static final TransverseMercator.Variant SOUTH_ORIENTATED
      The "South orientated" variant of Transverse Mercator projection.
  • Field Details

    • operationName

      private final Pattern operationName
      Name pattern for this variant.
    • identifier

      private final String identifier
      EPSG identifier for this variant.
  • Constructor Details

    • Variant

      private Variant(String operationName, String identifier)
  • Method Details

    • values

      public static TransverseMercator.Variant[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TransverseMercator.Variant valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getOperationNamePattern

      public Pattern getOperationNamePattern()
      The expected name pattern of an operation method for this variant.
      Specified by:
      getOperationNamePattern in interface ProjectionVariant
      Returns:
      the operation name pattern for this variant, or null if none.
    • getIdentifier

      public String getIdentifier()
      EPSG identifier of an operation method for this variant.
      Specified by:
      getIdentifier in interface ProjectionVariant
      Returns:
      EPSG identifier for this variant, or null if none.