001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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 BaseRowTag 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 boolean getFluid() {
041                    return _fluid;
042            }
043    
044            public java.lang.String getId() {
045                    return _id;
046            }
047    
048            public void setCssClass(java.lang.String cssClass) {
049                    _cssClass = cssClass;
050    
051                    setScopedAttribute("cssClass", cssClass);
052            }
053    
054            public void setFluid(boolean fluid) {
055                    _fluid = fluid;
056    
057                    setScopedAttribute("fluid", fluid);
058            }
059    
060            public void setId(java.lang.String id) {
061                    _id = id;
062    
063                    setScopedAttribute("id", id);
064            }
065    
066            @Override
067            protected void cleanUp() {
068                    _cssClass = null;
069                    _fluid = true;
070                    _id = null;
071            }
072    
073            @Override
074            protected String getEndPage() {
075                    return _END_PAGE;
076            }
077    
078            @Override
079            protected String getStartPage() {
080                    return _START_PAGE;
081            }
082    
083            @Override
084            protected void setAttributes(HttpServletRequest request) {
085                    setNamespacedAttribute(request, "cssClass", _cssClass);
086                    setNamespacedAttribute(request, "fluid", _fluid);
087                    setNamespacedAttribute(request, "id", _id);
088            }
089    
090            protected static final String _ATTRIBUTE_NAMESPACE = "aui:row:";
091    
092            private static final String _END_PAGE =
093                    "/html/taglib/aui/row/end.jsp";
094    
095            private static final String _START_PAGE =
096                    "/html/taglib/aui/row/start.jsp";
097    
098            private java.lang.String _cssClass = null;
099            private boolean _fluid = true;
100            private java.lang.String _id = null;
101    
102    }