001    /**
002     * Copyright (c) 2000-2011 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 BaseComponentTag 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 getDefineVar() {
037                    return _defineVar;
038            }
039    
040            public java.lang.String getExcludeAttributes() {
041                    return _excludeAttributes;
042            }
043    
044            public java.lang.String getJavaScriptAttributes() {
045                    return _javaScriptAttributes;
046            }
047    
048            public java.lang.String getModule() {
049                    return _module;
050            }
051    
052            public java.lang.String getName() {
053                    return _name;
054            }
055    
056            public java.util.Map<java.lang.String, java.lang.Object> getOptions() {
057                    return _options;
058            }
059    
060            public javax.servlet.jsp.JspContext getTagPageContext() {
061                    return _tagPageContext;
062            }
063    
064            public java.lang.String getVar() {
065                    return _var;
066            }
067    
068            public void setDefineVar(boolean defineVar) {
069                    _defineVar = defineVar;
070    
071                    setScopedAttribute("defineVar", defineVar);
072            }
073    
074            public void setExcludeAttributes(java.lang.String excludeAttributes) {
075                    _excludeAttributes = excludeAttributes;
076    
077                    setScopedAttribute("excludeAttributes", excludeAttributes);
078            }
079    
080            public void setJavaScriptAttributes(java.lang.String javaScriptAttributes) {
081                    _javaScriptAttributes = javaScriptAttributes;
082    
083                    setScopedAttribute("javaScriptAttributes", javaScriptAttributes);
084            }
085    
086            public void setModule(java.lang.String module) {
087                    _module = module;
088    
089                    setScopedAttribute("module", module);
090            }
091    
092            public void setName(java.lang.String name) {
093                    _name = name;
094    
095                    setScopedAttribute("name", name);
096            }
097    
098            public void setOptions(java.util.Map<java.lang.String, java.lang.Object> options) {
099                    _options = options;
100    
101                    setScopedAttribute("options", options);
102            }
103    
104            public void setTagPageContext(javax.servlet.jsp.JspContext tagPageContext) {
105                    _tagPageContext = tagPageContext;
106    
107                    setScopedAttribute("tagPageContext", tagPageContext);
108            }
109    
110            public void setVar(java.lang.String var) {
111                    _var = var;
112    
113                    setScopedAttribute("var", var);
114            }
115    
116            @Override
117            protected void cleanUp() {
118                    _defineVar = true;
119                    _excludeAttributes = null;
120                    _javaScriptAttributes = null;
121                    _module = null;
122                    _name = null;
123                    _options = null;
124                    _tagPageContext = null;
125                    _var = null;
126            }
127    
128            @Override
129            protected String getPage() {
130                    return _PAGE;
131            }
132    
133            @Override
134            protected void setAttributes(HttpServletRequest request) {
135                    setNamespacedAttribute(request, "defineVar", _defineVar);
136                    setNamespacedAttribute(request, "excludeAttributes", _excludeAttributes);
137                    setNamespacedAttribute(request, "javaScriptAttributes", _javaScriptAttributes);
138                    setNamespacedAttribute(request, "module", _module);
139                    setNamespacedAttribute(request, "name", _name);
140                    setNamespacedAttribute(request, "options", _options);
141                    setNamespacedAttribute(request, "tagPageContext", _tagPageContext);
142                    setNamespacedAttribute(request, "var", _var);
143            }
144    
145            protected static final String _ATTRIBUTE_NAMESPACE = "aui:component:";
146    
147            private static final String _PAGE =
148                    "/html/taglib/aui/component/page.jsp";
149    
150            private boolean _defineVar = true;
151            private java.lang.String _excludeAttributes = null;
152            private java.lang.String _javaScriptAttributes = null;
153            private java.lang.String _module = null;
154            private java.lang.String _name = null;
155            private java.util.Map<java.lang.String, java.lang.Object> _options = null;
156            private javax.servlet.jsp.JspContext _tagPageContext = null;
157            private java.lang.String _var = null;
158    
159    }