/*
 * DataTableTagMock.java		Date created: 14.12.2007
 * Last modified by: $Author$
 * $Revision$	$Date$
 */

package org.richfaces.jsp.tag;

import javax.faces.component.UIComponent;

import org.richfaces.taglib.DataTableTag;

/**
 * TODO Class description goes here.
 * @author Andrey Markavtsov
 *
 */
public class DataTableTagMock extends DataTableTag {
    
    /** Component to be returned by getComponentInstatnce method  */
    private UIComponent component;
       
    /**
     * TODO Description goes here.
     * @param component
     */
    public DataTableTagMock(UIComponent component) {
	super();
	this.component = component;
    }

    /* (non-Javadoc)
     * @see javax.faces.webapp.UIComponentClassicTagBase#getComponentInstance()
     */
    @Override
    public UIComponent getComponentInstance() {
	return component;
    }
    
    

}
