org.butterfaces.component.html.repeat.HtmlRepeat Maven / Gradle / Ivy
/*
* Copyright Lars Michaelis and Stephan Zerhusen 2016.
* Distributed under the MIT License.
* (See accompanying file README.md file or copy at http://opensource.org/licenses/MIT)
*/
package org.butterfaces.component.html.repeat;
import javax.faces.component.FacesComponent;
/**
* <b:repeat> is a non visible component used to iterate through a data model.
*
* @author Lars Michaelis
*/
@FacesComponent(HtmlRepeat.COMPONENT_TYPE)
public class HtmlRepeat extends UIDataAdaptor {
public static final String COMPONENT_TYPE = "org.butterfaces.component.repeat";
public static final String COMPONENT_FAMILY = "org.butterfaces.component.family";
public static final String RENDERER_TYPE = "org.butterfaces.component.renderkit.html_basic.RepeatRenderer";
public HtmlRepeat() {
setRendererType(RENDERER_TYPE);
}
@Override
public String getFamily() {
return COMPONENT_FAMILY;
}
}