Enum GbifRegion

    • Enum Constant Detail

      • AFRICA

        public static final GbifRegion AFRICA
        Africa: IPBES regions North Africa, West Africa, Central Africa, East Africa and adjacent islands, Southern Africa.
      • ASIA

        public static final GbifRegion ASIA
        Asia: IPBES regions Western Asia, South Asia, North-East Asia, South-East Asia.
      • EUROPE

        public static final GbifRegion EUROPE
        Europe and Central Asia: IPBES regions Central and Western Europe, Eastern Europe, Central Asia.
      • LATIN_AMERICA

        public static final GbifRegion LATIN_AMERICA
        Latin America and the Caribbean: IPBES regions Mesoamerica, Caribbean, South America.
      • ANTARCTICA

        public static final GbifRegion ANTARCTICA
        Antarctica: "Excluded" IPBES regions, or GEO regions except Greenland. Includes some islands in the Southern Ocean.
    • Method Detail

      • values

        public static GbifRegion[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GbifRegion c : GbifRegion.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GbifRegion 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
      • fromString

        public static GbifRegion fromString​(String region)
        Parameters:
        region - GBIF's region name
        Returns:
        the matching GBIF region or null