Enum Class Religion

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

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

    • other

      public static final Religion other
    • animist

      public static final Religion animist
    • bahai

      public static final Religion bahai
    • benzhu

      public static final Religion benzhu
    • buddhist

      public static final Religion buddhist
    • caodaism

      public static final Religion caodaism
    • christian

      public static final Religion christian
    • chinese_folk

      public static final Religion chinese_folk
    • confucian

      public static final Religion confucian
    • hindu

      public static final Religion hindu
    • jain

      public static final Religion jain
    • jewish

      public static final Religion jewish
    • multifaith

      public static final Religion multifaith
    • muslim

      public static final Religion muslim
    • pagan

      public static final Religion pagan
    • pastafarian

      public static final Religion pastafarian
    • scientologist

      public static final Religion scientologist
    • shinto

      public static final Religion shinto
    • sikh

      public static final Religion sikh
    • spiritualist

      public static final Religion spiritualist
    • taoist

      public static final Religion taoist
    • unitarian_universalist

      public static final Religion unitarian_universalist
    • voodoo

      public static final Religion voodoo
    • yazidi

      public static final Religion yazidi
    • zoroastrian

      public static final Religion zoroastrian
  • Method Details

    • values

      public static Religion[] 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 Religion 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
    • getSubType

      public final AmenityType getSubType()
    • value

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