Interface BindingInfoProvider

    • Method Detail

      • getBindingInfo

        @Nullable BindingInfo getBindingInfo​(@Nullable String id,
                                             @Nullable Locale locale)
        Returns the binding information for the specified binding ID and locale (language), or null if no binding information could be found.
        Parameters:
        id - the ID to be looked for (could be null or empty)
        locale - the locale to be used for the binding information (could be null)
        Returns:
        a localized binding information object (could be null)
      • getBindingInfos

        Set<BindingInfo> getBindingInfos​(@Nullable Locale locale)
        Returns all binding information in the specified locale (language) this provider contains.
        Parameters:
        locale - the locale to be used for the binding information (could be null)
        Returns:
        a localized set of all binding information this provider contains (could be empty)