001    /**
002     * Copyright (c) 2000-present 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 abstract class BaseFieldsetTag 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 boolean getColumn() {
037                    return _column;
038            }
039    
040            public java.lang.String getCssClass() {
041                    return _cssClass;
042            }
043    
044            public java.lang.String getHelpMessage() {
045                    return _helpMessage;
046            }
047    
048            public java.lang.String getId() {
049                    return _id;
050            }
051    
052            public java.lang.String getLabel() {
053                    return _label;
054            }
055    
056            public boolean getLocalizeLabel() {
057                    return _localizeLabel;
058            }
059    
060            public void setColumn(boolean column) {
061                    _column = column;
062    
063                    setScopedAttribute("column", column);
064            }
065    
066            public void setCssClass(java.lang.String cssClass) {
067                    _cssClass = cssClass;
068    
069                    setScopedAttribute("cssClass", cssClass);
070            }
071    
072            public void setHelpMessage(java.lang.String helpMessage) {
073                    _helpMessage = helpMessage;
074    
075                    setScopedAttribute("helpMessage", helpMessage);
076            }
077    
078            public void setId(java.lang.String id) {
079                    _id = id;
080    
081                    setScopedAttribute("id", id);
082            }
083    
084            public void setLabel(java.lang.String label) {
085                    _label = label;
086    
087                    setScopedAttribute("label", label);
088            }
089    
090            public void setLocalizeLabel(boolean localizeLabel) {
091                    _localizeLabel = localizeLabel;
092    
093                    setScopedAttribute("localizeLabel", localizeLabel);
094            }
095    
096            @Override
097            protected void cleanUp() {
098                    super.cleanUp();
099    
100                    _column = false;
101                    _cssClass = null;
102                    _helpMessage = null;
103                    _id = null;
104                    _label = null;
105                    _localizeLabel = true;
106            }
107    
108            @Override
109            protected String getEndPage() {
110                    return _END_PAGE;
111            }
112    
113            @Override
114            protected String getStartPage() {
115                    return _START_PAGE;
116            }
117    
118            @Override
119            protected void setAttributes(HttpServletRequest request) {
120                    setNamespacedAttribute(request, "column", _column);
121                    setNamespacedAttribute(request, "cssClass", _cssClass);
122                    setNamespacedAttribute(request, "helpMessage", _helpMessage);
123                    setNamespacedAttribute(request, "id", _id);
124                    setNamespacedAttribute(request, "label", _label);
125                    setNamespacedAttribute(request, "localizeLabel", _localizeLabel);
126            }
127    
128            protected static final String _ATTRIBUTE_NAMESPACE = "aui:fieldset:";
129    
130            private static final String _END_PAGE =
131                    "/html/taglib/aui/fieldset/end.jsp";
132    
133            private static final String _START_PAGE =
134                    "/html/taglib/aui/fieldset/start.jsp";
135    
136            private boolean _column = false;
137            private java.lang.String _cssClass = null;
138            private java.lang.String _helpMessage = null;
139            private java.lang.String _id = null;
140            private java.lang.String _label = null;
141            private boolean _localizeLabel = true;
142    
143    }