Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4530

Final methods on ResourceNameIterator prevent full customization of IResourceStreamLocator

    XMLWordPrintableJSON

Details

    Description

      IResourceStreamLocator contains the method newResourceNameIterator(...) which builds a ResourceNameIterator. Unfortunately ResourceNameIterator declares several getter methods (getLocale(), getStyle(), getVariation(), getExtension()) as final and thus ties the public API to the internal implementation of ResourceNameIterator. Therefore it's not possible to fully customize the behavior of ResourceNameIterator by subclassing.

      Attachments

        Activity

          People

            svenmeier Sven Meier
            jriehn Jan Riehn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: