// WARNING: This file was automatically generated. Do not edit it directly,
//          or you will lose your changes.
/*
 *  Licensed to the Apache Software Foundation (ASF) under one
 *  or more contributor license agreements.  See the NOTICE file
 *  distributed with this work for additional information
 *  regarding copyright ownership.  The ASF licenses this file
 *  to you under the Apache License, Version 2.0 (the
 *  "License"); you may not use this file except in compliance
 *  with the License.  You may obtain a copy of the License at
 * 
 *  http://www.apache.org/licenses/LICENSE-2.0
 * 
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an
 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations
 *  under the License.
 */
package org.apache.myfaces.custom.datascroller;

import javax.faces.component.UIComponent;
import javax.faces.el.ValueBinding;
import javax.faces.context.FacesContext;
import javax.faces.el.MethodBinding;


// Generated from class org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller.
//
// WARNING: This file was automatically generated. Do not edit it directly,
//          or you will lose your changes.
public class HtmlDataScrollerTag
    extends javax.faces.webapp.UIComponentTag
{
    public HtmlDataScrollerTag()
    {    
    }
    
    public String getComponentType()
    {
        return "org.apache.myfaces.HtmlDataScroller";
    }

    public String getRendererType()
    {
        return "org.apache.myfaces.DataScroller";
    }

 
    private String _layout;
    
    public void setLayout(String layout)
    {
        _layout = layout;
    }
 
    private String _colspan;
    
    public void setColspan(String colspan)
    {
        _colspan = colspan;
    }
 
    private String _onclick;
    
    public void setOnclick(String onclick)
    {
        _onclick = onclick;
    }
 
    private String _ondblclick;
    
    public void setOndblclick(String ondblclick)
    {
        _ondblclick = ondblclick;
    }
 
    private String _actionListener;
    
    public void setActionListener(String actionListener)
    {
        _actionListener = actionListener;
    }
 
    private String _for;
    
    public void setFor(String forParam)
    {
        _for = forParam;
    }
 
    private String _fastStep;
    
    public void setFastStep(String fastStep)
    {
        _fastStep = fastStep;
    }
 
    private String _pageIndexVar;
    
    public void setPageIndexVar(String pageIndexVar)
    {
        _pageIndexVar = pageIndexVar;
    }
 
    private String _pageCountVar;
    
    public void setPageCountVar(String pageCountVar)
    {
        _pageCountVar = pageCountVar;
    }
 
    private String _rowsCountVar;
    
    public void setRowsCountVar(String rowsCountVar)
    {
        _rowsCountVar = rowsCountVar;
    }
 
    private String _displayedRowsCountVar;
    
    public void setDisplayedRowsCountVar(String displayedRowsCountVar)
    {
        _displayedRowsCountVar = displayedRowsCountVar;
    }
 
    private String _firstRowIndexVar;
    
    public void setFirstRowIndexVar(String firstRowIndexVar)
    {
        _firstRowIndexVar = firstRowIndexVar;
    }
 
    private String _lastRowIndexVar;
    
    public void setLastRowIndexVar(String lastRowIndexVar)
    {
        _lastRowIndexVar = lastRowIndexVar;
    }
 
    private String _paginator;
    
    public void setPaginator(String paginator)
    {
        _paginator = paginator;
    }
 
    private String _paginatorMaxPages;
    
    public void setPaginatorMaxPages(String paginatorMaxPages)
    {
        _paginatorMaxPages = paginatorMaxPages;
    }
 
    private String _paginatorTableClass;
    
    public void setPaginatorTableClass(String paginatorTableClass)
    {
        _paginatorTableClass = paginatorTableClass;
    }
 
    private String _paginatorTableStyle;
    
    public void setPaginatorTableStyle(String paginatorTableStyle)
    {
        _paginatorTableStyle = paginatorTableStyle;
    }
 
    private String _paginatorColumnClass;
    
    public void setPaginatorColumnClass(String paginatorColumnClass)
    {
        _paginatorColumnClass = paginatorColumnClass;
    }
 
    private String _paginatorColumnStyle;
    
    public void setPaginatorColumnStyle(String paginatorColumnStyle)
    {
        _paginatorColumnStyle = paginatorColumnStyle;
    }
 
    private String _paginatorActiveColumnClass;
    
    public void setPaginatorActiveColumnClass(String paginatorActiveColumnClass)
    {
        _paginatorActiveColumnClass = paginatorActiveColumnClass;
    }
 
    private String _paginatorRenderLinkForActive;
    
    public void setPaginatorRenderLinkForActive(String paginatorRenderLinkForActive)
    {
        _paginatorRenderLinkForActive = paginatorRenderLinkForActive;
    }
 
    private String _firstStyleClass;
    
    public void setFirstStyleClass(String firstStyleClass)
    {
        _firstStyleClass = firstStyleClass;
    }
 
    private String _lastStyleClass;
    
    public void setLastStyleClass(String lastStyleClass)
    {
        _lastStyleClass = lastStyleClass;
    }
 
    private String _previousStyleClass;
    
    public void setPreviousStyleClass(String previousStyleClass)
    {
        _previousStyleClass = previousStyleClass;
    }
 
    private String _nextStyleClass;
    
    public void setNextStyleClass(String nextStyleClass)
    {
        _nextStyleClass = nextStyleClass;
    }
 
    private String _fastfStyleClass;
    
    public void setFastfStyleClass(String fastfStyleClass)
    {
        _fastfStyleClass = fastfStyleClass;
    }
 
    private String _fastrStyleClass;
    
    public void setFastrStyleClass(String fastrStyleClass)
    {
        _fastrStyleClass = fastrStyleClass;
    }
 
    private String _paginatorActiveColumnStyle;
    
    public void setPaginatorActiveColumnStyle(String paginatorActiveColumnStyle)
    {
        _paginatorActiveColumnStyle = paginatorActiveColumnStyle;
    }
 
    private String _renderFacetsIfSinglePage;
    
    public void setRenderFacetsIfSinglePage(String renderFacetsIfSinglePage)
    {
        _renderFacetsIfSinglePage = renderFacetsIfSinglePage;
    }
 
    private String _immediate;
    
    public void setImmediate(String immediate)
    {
        _immediate = immediate;
    }
 
    private String _disableFacetLinksIfFirstPage;
    
    public void setDisableFacetLinksIfFirstPage(String disableFacetLinksIfFirstPage)
    {
        _disableFacetLinksIfFirstPage = disableFacetLinksIfFirstPage;
    }
 
    private String _disableFacetLinksIfLastPage;
    
    public void setDisableFacetLinksIfLastPage(String disableFacetLinksIfLastPage)
    {
        _disableFacetLinksIfLastPage = disableFacetLinksIfLastPage;
    }
 
    private String _renderFacetLinksIfFirstPage;
    
    public void setRenderFacetLinksIfFirstPage(String renderFacetLinksIfFirstPage)
    {
        _renderFacetLinksIfFirstPage = renderFacetLinksIfFirstPage;
    }
 
    private String _renderFacetLinksIfLastPage;
    
    public void setRenderFacetLinksIfLastPage(String renderFacetLinksIfLastPage)
    {
        _renderFacetLinksIfLastPage = renderFacetLinksIfLastPage;
    }
 
    private String _displayValueOnly;
    
    public void setDisplayValueOnly(String displayValueOnly)
    {
        _displayValueOnly = displayValueOnly;
    }
 
    private String _displayValueOnlyStyle;
    
    public void setDisplayValueOnlyStyle(String displayValueOnlyStyle)
    {
        _displayValueOnlyStyle = displayValueOnlyStyle;
    }
 
    private String _displayValueOnlyStyleClass;
    
    public void setDisplayValueOnlyStyleClass(String displayValueOnlyStyleClass)
    {
        _displayValueOnlyStyleClass = displayValueOnlyStyleClass;
    }
 
    private String _enabledOnUserRole;
    
    public void setEnabledOnUserRole(String enabledOnUserRole)
    {
        _enabledOnUserRole = enabledOnUserRole;
    }
 
    private String _visibleOnUserRole;
    
    public void setVisibleOnUserRole(String visibleOnUserRole)
    {
        _visibleOnUserRole = visibleOnUserRole;
    }
 
    private String _forceId;
    
    public void setForceId(String forceId)
    {
        _forceId = forceId;
    }
 
    private String _forceIdIndex;
    
    public void setForceIdIndex(String forceIdIndex)
    {
        _forceIdIndex = forceIdIndex;
    }
 
    private String _dir;
    
    public void setDir(String dir)
    {
        _dir = dir;
    }
 
    private String _lang;
    
    public void setLang(String lang)
    {
        _lang = lang;
    }
 
    private String _title;
    
    public void setTitle(String title)
    {
        _title = title;
    }
 
    private String _style;
    
    public void setStyle(String style)
    {
        _style = style;
    }
 
    private String _styleClass;
    
    public void setStyleClass(String styleClass)
    {
        _styleClass = styleClass;
    }

    protected void setProperties(UIComponent component)
    {
        if (!(component instanceof org.apache.myfaces.custom.datascroller.HtmlDataScroller))
        {
            throw new IllegalArgumentException("Component "+
                component.getClass().getName() +" is no org.apache.myfaces.custom.datascroller.HtmlDataScroller");
        }
        
        org.apache.myfaces.custom.datascroller.HtmlDataScroller comp = (org.apache.myfaces.custom.datascroller.HtmlDataScroller) component;
        
        super.setProperties(component);
        
        FacesContext context = getFacesContext();

        if (_layout != null)
        {
            if (isValueReference(_layout))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_layout);
                comp.setValueBinding("layout", vb);
            }
            else
            {
                comp.getAttributes().put("layout", _layout);
            }
        } 
        if (_colspan != null)
        {
            if (isValueReference(_colspan))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_colspan);
                comp.setValueBinding("colspan", vb);
            }
            else
            {
                comp.getAttributes().put("colspan", Integer.valueOf(_colspan));
            }
        } 
        if (_onclick != null)
        {
            if (isValueReference(_onclick))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_onclick);
                comp.setValueBinding("onclick", vb);
            }
            else
            {
                comp.getAttributes().put("onclick", _onclick);
            }
        } 
        if (_ondblclick != null)
        {
            if (isValueReference(_ondblclick))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_ondblclick);
                comp.setValueBinding("ondblclick", vb);
            }
            else
            {
                comp.getAttributes().put("ondblclick", _ondblclick);
            }
        } 
        if (_actionListener != null)
        {
            MethodBinding mb = context.getApplication().createMethodBinding(
                _actionListener, new Class[]{javax.faces.event.ActionEvent.class,});
            comp.setActionListener(mb);
        }
        if (_for != null)
        {
            if (isValueReference(_for))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_for);
                comp.setValueBinding("for", vb);
            }
            else
            {
                comp.getAttributes().put("for", _for);
            }
        } 
        if (_fastStep != null)
        {
            if (isValueReference(_fastStep))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_fastStep);
                comp.setValueBinding("fastStep", vb);
            }
            else
            {
                comp.getAttributes().put("fastStep", Integer.valueOf(_fastStep));
            }
        } 
        if (_pageIndexVar != null)
        {
            if (isValueReference(_pageIndexVar))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_pageIndexVar);
                comp.setValueBinding("pageIndexVar", vb);
            }
            else
            {
                comp.getAttributes().put("pageIndexVar", _pageIndexVar);
            }
        } 
        if (_pageCountVar != null)
        {
            if (isValueReference(_pageCountVar))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_pageCountVar);
                comp.setValueBinding("pageCountVar", vb);
            }
            else
            {
                comp.getAttributes().put("pageCountVar", _pageCountVar);
            }
        } 
        if (_rowsCountVar != null)
        {
            if (isValueReference(_rowsCountVar))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_rowsCountVar);
                comp.setValueBinding("rowsCountVar", vb);
            }
            else
            {
                comp.getAttributes().put("rowsCountVar", _rowsCountVar);
            }
        } 
        if (_displayedRowsCountVar != null)
        {
            if (isValueReference(_displayedRowsCountVar))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_displayedRowsCountVar);
                comp.setValueBinding("displayedRowsCountVar", vb);
            }
            else
            {
                comp.getAttributes().put("displayedRowsCountVar", _displayedRowsCountVar);
            }
        } 
        if (_firstRowIndexVar != null)
        {
            if (isValueReference(_firstRowIndexVar))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_firstRowIndexVar);
                comp.setValueBinding("firstRowIndexVar", vb);
            }
            else
            {
                comp.getAttributes().put("firstRowIndexVar", _firstRowIndexVar);
            }
        } 
        if (_lastRowIndexVar != null)
        {
            if (isValueReference(_lastRowIndexVar))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_lastRowIndexVar);
                comp.setValueBinding("lastRowIndexVar", vb);
            }
            else
            {
                comp.getAttributes().put("lastRowIndexVar", _lastRowIndexVar);
            }
        } 
        if (_paginator != null)
        {
            if (isValueReference(_paginator))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginator);
                comp.setValueBinding("paginator", vb);
            }
            else
            {
                comp.getAttributes().put("paginator", Boolean.valueOf(_paginator));
            }
        } 
        if (_paginatorMaxPages != null)
        {
            if (isValueReference(_paginatorMaxPages))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorMaxPages);
                comp.setValueBinding("paginatorMaxPages", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorMaxPages", Integer.valueOf(_paginatorMaxPages));
            }
        } 
        if (_paginatorTableClass != null)
        {
            if (isValueReference(_paginatorTableClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorTableClass);
                comp.setValueBinding("paginatorTableClass", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorTableClass", _paginatorTableClass);
            }
        } 
        if (_paginatorTableStyle != null)
        {
            if (isValueReference(_paginatorTableStyle))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorTableStyle);
                comp.setValueBinding("paginatorTableStyle", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorTableStyle", _paginatorTableStyle);
            }
        } 
        if (_paginatorColumnClass != null)
        {
            if (isValueReference(_paginatorColumnClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorColumnClass);
                comp.setValueBinding("paginatorColumnClass", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorColumnClass", _paginatorColumnClass);
            }
        } 
        if (_paginatorColumnStyle != null)
        {
            if (isValueReference(_paginatorColumnStyle))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorColumnStyle);
                comp.setValueBinding("paginatorColumnStyle", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorColumnStyle", _paginatorColumnStyle);
            }
        } 
        if (_paginatorActiveColumnClass != null)
        {
            if (isValueReference(_paginatorActiveColumnClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorActiveColumnClass);
                comp.setValueBinding("paginatorActiveColumnClass", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorActiveColumnClass", _paginatorActiveColumnClass);
            }
        } 
        if (_paginatorRenderLinkForActive != null)
        {
            if (isValueReference(_paginatorRenderLinkForActive))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorRenderLinkForActive);
                comp.setValueBinding("paginatorRenderLinkForActive", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorRenderLinkForActive", Boolean.valueOf(_paginatorRenderLinkForActive));
            }
        } 
        if (_firstStyleClass != null)
        {
            if (isValueReference(_firstStyleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_firstStyleClass);
                comp.setValueBinding("firstStyleClass", vb);
            }
            else
            {
                comp.getAttributes().put("firstStyleClass", _firstStyleClass);
            }
        } 
        if (_lastStyleClass != null)
        {
            if (isValueReference(_lastStyleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_lastStyleClass);
                comp.setValueBinding("lastStyleClass", vb);
            }
            else
            {
                comp.getAttributes().put("lastStyleClass", _lastStyleClass);
            }
        } 
        if (_previousStyleClass != null)
        {
            if (isValueReference(_previousStyleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_previousStyleClass);
                comp.setValueBinding("previousStyleClass", vb);
            }
            else
            {
                comp.getAttributes().put("previousStyleClass", _previousStyleClass);
            }
        } 
        if (_nextStyleClass != null)
        {
            if (isValueReference(_nextStyleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_nextStyleClass);
                comp.setValueBinding("nextStyleClass", vb);
            }
            else
            {
                comp.getAttributes().put("nextStyleClass", _nextStyleClass);
            }
        } 
        if (_fastfStyleClass != null)
        {
            if (isValueReference(_fastfStyleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_fastfStyleClass);
                comp.setValueBinding("fastfStyleClass", vb);
            }
            else
            {
                comp.getAttributes().put("fastfStyleClass", _fastfStyleClass);
            }
        } 
        if (_fastrStyleClass != null)
        {
            if (isValueReference(_fastrStyleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_fastrStyleClass);
                comp.setValueBinding("fastrStyleClass", vb);
            }
            else
            {
                comp.getAttributes().put("fastrStyleClass", _fastrStyleClass);
            }
        } 
        if (_paginatorActiveColumnStyle != null)
        {
            if (isValueReference(_paginatorActiveColumnStyle))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_paginatorActiveColumnStyle);
                comp.setValueBinding("paginatorActiveColumnStyle", vb);
            }
            else
            {
                comp.getAttributes().put("paginatorActiveColumnStyle", _paginatorActiveColumnStyle);
            }
        } 
        if (_renderFacetsIfSinglePage != null)
        {
            if (isValueReference(_renderFacetsIfSinglePage))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_renderFacetsIfSinglePage);
                comp.setValueBinding("renderFacetsIfSinglePage", vb);
            }
            else
            {
                comp.getAttributes().put("renderFacetsIfSinglePage", Boolean.valueOf(_renderFacetsIfSinglePage));
            }
        } 
        if (_immediate != null)
        {
            if (isValueReference(_immediate))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_immediate);
                comp.setValueBinding("immediate", vb);
            }
            else
            {
                comp.getAttributes().put("immediate", Boolean.valueOf(_immediate));
            }
        } 
        if (_disableFacetLinksIfFirstPage != null)
        {
            if (isValueReference(_disableFacetLinksIfFirstPage))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_disableFacetLinksIfFirstPage);
                comp.setValueBinding("disableFacetLinksIfFirstPage", vb);
            }
            else
            {
                comp.getAttributes().put("disableFacetLinksIfFirstPage", Boolean.valueOf(_disableFacetLinksIfFirstPage));
            }
        } 
        if (_disableFacetLinksIfLastPage != null)
        {
            if (isValueReference(_disableFacetLinksIfLastPage))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_disableFacetLinksIfLastPage);
                comp.setValueBinding("disableFacetLinksIfLastPage", vb);
            }
            else
            {
                comp.getAttributes().put("disableFacetLinksIfLastPage", Boolean.valueOf(_disableFacetLinksIfLastPage));
            }
        } 
        if (_renderFacetLinksIfFirstPage != null)
        {
            if (isValueReference(_renderFacetLinksIfFirstPage))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_renderFacetLinksIfFirstPage);
                comp.setValueBinding("renderFacetLinksIfFirstPage", vb);
            }
            else
            {
                comp.getAttributes().put("renderFacetLinksIfFirstPage", Boolean.valueOf(_renderFacetLinksIfFirstPage));
            }
        } 
        if (_renderFacetLinksIfLastPage != null)
        {
            if (isValueReference(_renderFacetLinksIfLastPage))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_renderFacetLinksIfLastPage);
                comp.setValueBinding("renderFacetLinksIfLastPage", vb);
            }
            else
            {
                comp.getAttributes().put("renderFacetLinksIfLastPage", Boolean.valueOf(_renderFacetLinksIfLastPage));
            }
        } 
        if (_displayValueOnly != null)
        {
            if (isValueReference(_displayValueOnly))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_displayValueOnly);
                comp.setValueBinding("displayValueOnly", vb);
            }
            else
            {
                comp.getAttributes().put("displayValueOnly", Boolean.valueOf(_displayValueOnly));
            }
        } 
        if (_displayValueOnlyStyle != null)
        {
            if (isValueReference(_displayValueOnlyStyle))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_displayValueOnlyStyle);
                comp.setValueBinding("displayValueOnlyStyle", vb);
            }
            else
            {
                comp.getAttributes().put("displayValueOnlyStyle", _displayValueOnlyStyle);
            }
        } 
        if (_displayValueOnlyStyleClass != null)
        {
            if (isValueReference(_displayValueOnlyStyleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_displayValueOnlyStyleClass);
                comp.setValueBinding("displayValueOnlyStyleClass", vb);
            }
            else
            {
                comp.getAttributes().put("displayValueOnlyStyleClass", _displayValueOnlyStyleClass);
            }
        } 
        if (_enabledOnUserRole != null)
        {
            if (isValueReference(_enabledOnUserRole))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_enabledOnUserRole);
                comp.setValueBinding("enabledOnUserRole", vb);
            }
            else
            {
                comp.getAttributes().put("enabledOnUserRole", _enabledOnUserRole);
            }
        } 
        if (_visibleOnUserRole != null)
        {
            if (isValueReference(_visibleOnUserRole))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_visibleOnUserRole);
                comp.setValueBinding("visibleOnUserRole", vb);
            }
            else
            {
                comp.getAttributes().put("visibleOnUserRole", _visibleOnUserRole);
            }
        } 
        if (_forceId != null)
        {
            comp.getAttributes().put("forceId", Boolean.valueOf(_forceId));
        } 
        if (_forceIdIndex != null)
        {
            comp.getAttributes().put("forceIdIndex", Boolean.valueOf(_forceIdIndex));
        } 
        if (_dir != null)
        {
            if (isValueReference(_dir))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_dir);
                comp.setValueBinding("dir", vb);
            }
            else
            {
                comp.getAttributes().put("dir", _dir);
            }
        } 
        if (_lang != null)
        {
            if (isValueReference(_lang))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_lang);
                comp.setValueBinding("lang", vb);
            }
            else
            {
                comp.getAttributes().put("lang", _lang);
            }
        } 
        if (_title != null)
        {
            if (isValueReference(_title))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_title);
                comp.setValueBinding("title", vb);
            }
            else
            {
                comp.getAttributes().put("title", _title);
            }
        } 
        if (_style != null)
        {
            if (isValueReference(_style))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_style);
                comp.setValueBinding("style", vb);
            }
            else
            {
                comp.getAttributes().put("style", _style);
            }
        } 
        if (_styleClass != null)
        {
            if (isValueReference(_styleClass))
            {
                ValueBinding vb = context.getApplication().createValueBinding(_styleClass);
                comp.setValueBinding("styleClass", vb);
            }
            else
            {
                comp.getAttributes().put("styleClass", _styleClass);
            }
        } 
    }

    public void release()
    {
        super.release();
        _layout = null;
        _colspan = null;
        _onclick = null;
        _ondblclick = null;
        _actionListener = null;
        _for = null;
        _fastStep = null;
        _pageIndexVar = null;
        _pageCountVar = null;
        _rowsCountVar = null;
        _displayedRowsCountVar = null;
        _firstRowIndexVar = null;
        _lastRowIndexVar = null;
        _paginator = null;
        _paginatorMaxPages = null;
        _paginatorTableClass = null;
        _paginatorTableStyle = null;
        _paginatorColumnClass = null;
        _paginatorColumnStyle = null;
        _paginatorActiveColumnClass = null;
        _paginatorRenderLinkForActive = null;
        _firstStyleClass = null;
        _lastStyleClass = null;
        _previousStyleClass = null;
        _nextStyleClass = null;
        _fastfStyleClass = null;
        _fastrStyleClass = null;
        _paginatorActiveColumnStyle = null;
        _renderFacetsIfSinglePage = null;
        _immediate = null;
        _disableFacetLinksIfFirstPage = null;
        _disableFacetLinksIfLastPage = null;
        _renderFacetLinksIfFirstPage = null;
        _renderFacetLinksIfLastPage = null;
        _displayValueOnly = null;
        _displayValueOnlyStyle = null;
        _displayValueOnlyStyleClass = null;
        _enabledOnUserRole = null;
        _visibleOnUserRole = null;
        _forceId = null;
        _forceIdIndex = null;
        _dir = null;
        _lang = null;
        _title = null;
        _style = null;
        _styleClass = null;
    }
}