Interface FormatAttribute

    • Method Detail

      • name

        String name()
        Returns the name of this attribute.
        Returns:
        the name of this attribute, never be null.
      • localizedName

        default Localizable localizedName()
        Returns the localized name.
        Returns:
        the localized name of this attribute, never be null.
      • test

        boolean test​(JsonValue value)
        Checks if the value matches this format.
        Parameters:
        value - the value to check, cannot be null.
        Returns:
        true if the value matches this format, or false.
        Throws:
        NullPointerException - if the specified value is null.