001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.taglib.aui.base;
016    
017    import javax.servlet.http.HttpServletRequest;
018    import javax.servlet.jsp.JspException;
019    
020    /**
021     * @author Eduardo Lundgren
022     * @author Bruno Basto
023     * @author Nathan Cavanaugh
024     * @author Julio Camarero
025     * @generated
026     */
027    public class BaseButtonRowTag extends com.liferay.taglib.util.IncludeTag {
028    
029            @Override
030            public int doStartTag() throws JspException {
031                    setAttributeNamespace(_ATTRIBUTE_NAMESPACE);
032    
033                    return super.doStartTag();
034            }
035    
036            public java.lang.String getCssClass() {
037                    return _cssClass;
038            }
039    
040            public java.lang.String getId() {
041                    return _id;
042            }
043    
044            public void setCssClass(java.lang.String cssClass) {
045                    _cssClass = cssClass;
046    
047                    setScopedAttribute("cssClass", cssClass);
048            }
049    
050            public void setId(java.lang.String id) {
051                    _id = id;
052    
053                    setScopedAttribute("id", id);
054            }
055    
056            @Override
057            protected void cleanUp() {
058                    _cssClass = null;
059                    _id = null;
060            }
061    
062            @Override
063            protected String getEndPage() {
064                    return _END_PAGE;
065            }
066    
067            @Override
068            protected String getStartPage() {
069                    return _START_PAGE;
070            }
071    
072            @Override
073            protected void setAttributes(HttpServletRequest request) {
074                    setNamespacedAttribute(request, "cssClass", _cssClass);
075                    setNamespacedAttribute(request, "id", _id);
076            }
077    
078            protected static final String _ATTRIBUTE_NAMESPACE = "aui:button-row:";
079    
080            private static final String _END_PAGE =
081                    "/html/taglib/aui/button_row/end.jsp";
082    
083            private static final String _START_PAGE =
084                    "/html/taglib/aui/button_row/start.jsp";
085    
086            private java.lang.String _cssClass = null;
087            private java.lang.String _id = null;
088    
089    }