code: public static IModel<String> newResourceModel(final ResourceBundleKey resourceBundleKey,
  		final Component component)
  	{
  		IModel<String> resourceModel;
  		final String resourceKey = resourceBundleKey.getKey();
  		resourceModel = newResourceModel(resourceKey, resourceBundleKey.getParameters(), component,
  			resourceBundleKey.getDefaultValue());
  		return resourceModel;
  	}
docs: Factory method to create a new {@link StringResourceModel} from the given ResourceBundleKey.
  
  @param resourceBundleKey
  the resource bundle key
  @param component
  the component
  @return a new {@link StringResourceModel} as an {@link IModel}