package org.ajax4jsf.renderkit;

import java.io.IOException;
import java.util.Set;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;

import org.ajax4jsf.resource.InternetResource;

/**
 * Marker interface for a user-defined resources for a HTML HEAD tag.
 * There resourses must be loaded AFTER all other components.
 * This is the second revision of {@link UserResourceRenderer} interface that returns 
 * arrays of {@link InternetResource} instead of {@link Set}
 * @author nbelaevski@exadel.com
 *
 */
public interface UserResourceRenderer2 {

	public void encodeToHead(FacesContext context, UIComponent component) throws IOException;
}
