Enum Url.Field

    • Enum Constant Detail

      • VALUE

        public static final Url.Field VALUE
        the name of the value field.
      • LINK_TEXT

        public static final Url.Field LINK_TEXT
        the name of the linkText field.
      • TYPE

        public static final Url.Field TYPE
        the name of the type field.
    • Method Detail

      • values

        public static Url.Field[] 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 (Url.Field c : Url.Field.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Url.Field 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