code: public static <T> Fragment newFragment(final String id, final String markupId,
  		final MarkupContainer markupProvider, final IModel<T> model)
  	{
  		final Fragment fragment = new Fragment(id, markupId, markupProvider, model);
  		fragment.setOutputMarkupId(true);
  		return fragment;
  	}
docs: Factory method for create a new {@link Fragment}.
  
  @param <T>
  the generic type
  @param id
  the id
  @param markupId
  The associated id of the associated markup fragment
  @param markupProvider
  The component whose markup contains the fragment's markup
  @param model
  The model for this {@link Fragment}
  @return The new {@link Fragment}.