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 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 void setColumn(boolean column) {
057                    _column = column;
058    
059                    setScopedAttribute("column", column);
060            }
061    
062            public void setCssClass(java.lang.String cssClass) {
063                    _cssClass = cssClass;
064    
065                    setScopedAttribute("cssClass", cssClass);
066            }
067    
068            public void setHelpMessage(java.lang.String helpMessage) {
069                    _helpMessage = helpMessage;
070    
071                    setScopedAttribute("helpMessage", helpMessage);
072            }
073    
074            public void setId(java.lang.String id) {
075                    _id = id;
076    
077                    setScopedAttribute("id", id);
078            }
079    
080            public void setLabel(java.lang.String label) {
081                    _label = label;
082    
083                    setScopedAttribute("label", label);
084            }
085    
086            @Override
087            protected void cleanUp() {
088                    _column = false;
089                    _cssClass = null;
090                    _helpMessage = null;
091                    _id = null;
092                    _label = null;
093            }
094    
095            @Override
096            protected String getEndPage() {
097                    return _END_PAGE;
098            }
099    
100            @Override
101            protected String getStartPage() {
102                    return _START_PAGE;
103            }
104    
105            @Override
106            protected void setAttributes(HttpServletRequest request) {
107                    setNamespacedAttribute(request, "column", _column);
108                    setNamespacedAttribute(request, "cssClass", _cssClass);
109                    setNamespacedAttribute(request, "helpMessage", _helpMessage);
110                    setNamespacedAttribute(request, "id", _id);
111                    setNamespacedAttribute(request, "label", _label);
112            }
113    
114            protected static final String _ATTRIBUTE_NAMESPACE = "aui:fieldset:";
115    
116            private static final String _END_PAGE =
117                    "/html/taglib/aui/fieldset/end.jsp";
118    
119            private static final String _START_PAGE =
120                    "/html/taglib/aui/fieldset/start.jsp";
121    
122            private boolean _column = false;
123            private java.lang.String _cssClass = null;
124            private java.lang.String _helpMessage = null;
125            private java.lang.String _id = null;
126            private java.lang.String _label = null;
127    
128    }