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 BaseAudioTag 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 getBoundingBox() {
037                    return _boundingBox;
038            }
039    
040            public java.lang.String getCssClass() {
041                    return _cssClass;
042            }
043    
044            public java.lang.String getId() {
045                    return _id;
046            }
047    
048            public java.lang.String getOggURL() {
049                    return _oggURL;
050            }
051    
052            public java.lang.String getSwfURL() {
053                    return _swfURL;
054            }
055    
056            public java.lang.String getType() {
057                    return _type;
058            }
059    
060            public java.lang.String getUrl() {
061                    return _url;
062            }
063    
064            public void setBoundingBox(java.lang.String boundingBox) {
065                    _boundingBox = boundingBox;
066    
067                    setScopedAttribute("boundingBox", boundingBox);
068            }
069    
070            public void setCssClass(java.lang.String cssClass) {
071                    _cssClass = cssClass;
072    
073                    setScopedAttribute("cssClass", cssClass);
074            }
075    
076            public void setId(java.lang.String id) {
077                    _id = id;
078    
079                    setScopedAttribute("id", id);
080            }
081    
082            public void setOggURL(java.lang.String oggURL) {
083                    _oggURL = oggURL;
084    
085                    setScopedAttribute("oggURL", oggURL);
086            }
087    
088            public void setSwfURL(java.lang.String swfURL) {
089                    _swfURL = swfURL;
090    
091                    setScopedAttribute("swfURL", swfURL);
092            }
093    
094            public void setType(java.lang.String type) {
095                    _type = type;
096    
097                    setScopedAttribute("type", type);
098            }
099    
100            public void setUrl(java.lang.String url) {
101                    _url = url;
102    
103                    setScopedAttribute("url", url);
104            }
105    
106            @Override
107            protected void cleanUp() {
108                    super.cleanUp();
109    
110                    _boundingBox = null;
111                    _cssClass = null;
112                    _id = null;
113                    _oggURL = null;
114                    _swfURL = null;
115                    _type = "mp3";
116                    _url = null;
117            }
118    
119            @Override
120            protected String getPage() {
121                    return _PAGE;
122            }
123    
124            @Override
125            protected void setAttributes(HttpServletRequest request) {
126                    setNamespacedAttribute(request, "boundingBox", _boundingBox);
127                    setNamespacedAttribute(request, "cssClass", _cssClass);
128                    setNamespacedAttribute(request, "id", _id);
129                    setNamespacedAttribute(request, "oggURL", _oggURL);
130                    setNamespacedAttribute(request, "swfURL", _swfURL);
131                    setNamespacedAttribute(request, "type", _type);
132                    setNamespacedAttribute(request, "url", _url);
133            }
134    
135            protected static final String _ATTRIBUTE_NAMESPACE = "aui:audio:";
136    
137            private static final String _PAGE =
138                    "/html/taglib/aui/audio/page.jsp";
139    
140            private java.lang.String _boundingBox = null;
141            private java.lang.String _cssClass = null;
142            private java.lang.String _id = null;
143            private java.lang.String _oggURL = null;
144            private java.lang.String _swfURL = null;
145            private java.lang.String _type = "mp3";
146            private java.lang.String _url = null;
147    
148    }