Class ClassResourceModel

java.lang.Object
org.apache.wicket.model.LoadableDetachableModel<String>
org.hippoecm.frontend.plugins.standards.ClassResourceModel
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<String>, org.apache.wicket.util.io.IClusterable

public class ClassResourceModel extends org.apache.wicket.model.LoadableDetachableModel<String>
Resource model that uses the wicket string resource locator mechanism, but not limited to Components.
See Also:
  • Constructor Details

    • ClassResourceModel

      public ClassResourceModel(String key, Class<?> clazz, Object... parameters)
    • ClassResourceModel

      public ClassResourceModel(String key, Class<?> clazz, Locale locale, String style, Object... parameters)
    • ClassResourceModel

      public ClassResourceModel(String key, Class<?> clazz, org.apache.wicket.model.IModel<Locale> localeModel, String style, Object... parameters)
  • Method Details

    • load

      protected String load()
      Specified by:
      load in class org.apache.wicket.model.LoadableDetachableModel<String>
    • onDetach

      protected void onDetach()
      Overrides:
      onDetach in class org.apache.wicket.model.LoadableDetachableModel<String>
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.wicket.model.LoadableDetachableModel<String>