Enum Class Boundary

java.lang.Object
java.lang.Enum<Boundary>
org.ka2ddo.yaac.osm.Boundary
All Implemented Interfaces:
Serializable, Comparable<Boundary>, Constable

public enum Boundary extends Enum<Boundary>
Supported types of the OSM boundary="*" attribute. See the definition of boundary on the OpenStreetMap wiki.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • user_defined

      public static final Boundary user_defined
    • landuse

      public static final Boundary landuse
    • subdivision

      public static final Boundary subdivision
    • historic

      public static final Boundary historic
    • neighborhood

      public static final Boundary neighborhood
    • administrative

      public static final Boundary administrative
    • maritime

      public static final Boundary maritime
    • national_park

      public static final Boundary national_park
    • protected_area

      public static final Boundary protected_area
  • Method Details

    • values

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

      public static Boundary valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • wayType

      public WayType wayType()
      Report the WayType for rendering this type of Way.
      Returns:
      WayType
    • value

      public static Boundary value(String name)
      Get the enum value associated with the string name specified.
      Parameters:
      name - String to convert into an Enum
      Returns:
      Boundary for the string name, or null if no match