001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041: package org.netbeans.modules.visualweb.xhtml;
042:
043: /**
044: * <b>Applet</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="applet">
049: * <ref name="applet.attlist"/>
050: * <!-- No restrictions on mixed content in TREX. -->
051: * <zeroOrMore>
052: * <ref name="param"/>
053: * </zeroOrMore>
054: * <ref name="Flow.model"/>
055: * </element>-->
056: * <!-- for javadoc -->
057: * <pre> <element name="applet">
058: * <ref name="applet.attlist"/>
059: * <!-- No restrictions on mixed content in TREX. -->
060: * <zeroOrMore>
061: * <ref name="param"/>
062: * </zeroOrMore>
063: * <ref name="Flow.model"/>
064: * </element></pre>
065: *
066: * @version xhtml.rng (Tue Apr 20 01:31:08 PDT 2004)
067: * @author Relaxer 1.1b (http://www.relaxer.org)
068: */
069: public class Applet {
070: public static final String ALIGN_TOP = "top";
071: public static final String ALIGN_MIDDLE = "middle";
072: public static final String ALIGN_BOTTOM = "bottom";
073: public static final String ALIGN_LEFT = "left";
074: public static final String ALIGN_RIGHT = "right";
075: private String id_;
076: private String classValue_;
077: private String title_;
078: private String style_;
079: private String alt_;
080: private String archive_;
081: private String code_;
082: private String codebase_;
083: private String object_;
084: private String height_;
085: private String width_;
086: private String name_;
087: private String align_;
088: private String hspace_;
089: private String vspace_;
090:
091: /**
092: * Creates a <code>Applet</code>.
093: *
094: */
095: public Applet() {
096: alt_ = "";
097: height_ = "";
098: width_ = "";
099: }
100:
101: /**
102: * Gets the String property <b>id</b>.
103: *
104: * @return String
105: */
106: public String getId() {
107: return (id_);
108: }
109:
110: /**
111: * Sets the String property <b>id</b>.
112: *
113: * @param id
114: */
115: public void setId(String id) {
116: this .id_ = id;
117: }
118:
119: /**
120: * Gets the String property <b>classValue</b>.
121: *
122: * @return String
123: */
124: public String getClassValue() {
125: return classValue_;
126: }
127:
128: /**
129: * Sets the String property <b>classValue</b>.
130: *
131: * @param classValue
132: */
133: public void setClassValue(String classValue) {
134: this .classValue_ = classValue;
135: }
136:
137: /**
138: * Gets the String property <b>title</b>.
139: *
140: * @return String
141: */
142: public String getTitle() {
143: return (title_);
144: }
145:
146: /**
147: * Sets the String property <b>title</b>.
148: *
149: * @param title
150: */
151: public void setTitle(String title) {
152: this .title_ = title;
153: }
154:
155: /**
156: * Gets the String property <b>style</b>.
157: *
158: * @return String
159: */
160: public String getStyle() {
161: return (style_);
162: }
163:
164: /**
165: * Sets the String property <b>style</b>.
166: *
167: * @param style
168: */
169: public void setStyle(String style) {
170: this .style_ = style;
171: }
172:
173: /**
174: * Gets the String property <b>alt</b>.
175: *
176: * @return String
177: */
178: public String getAlt() {
179: return (alt_);
180: }
181:
182: /**
183: * Sets the String property <b>alt</b>.
184: *
185: * @param alt
186: */
187: public void setAlt(String alt) {
188: this .alt_ = alt;
189: }
190:
191: /**
192: * Gets the String property <b>archive</b>.
193: *
194: * @return String
195: */
196: public String getArchive() {
197: return (archive_);
198: }
199:
200: /**
201: * Sets the String property <b>archive</b>.
202: *
203: * @param archive
204: */
205: public void setArchive(String archive) {
206: this .archive_ = archive;
207: }
208:
209: /**
210: * Gets the String property <b>code</b>.
211: *
212: * @return String
213: */
214: public String getCode() {
215: return (code_);
216: }
217:
218: /**
219: * Sets the String property <b>code</b>.
220: *
221: * @param code
222: */
223: public void setCode(String code) {
224: this .code_ = code;
225: }
226:
227: /**
228: * Gets the String property <b>codebase</b>.
229: *
230: * @return String
231: */
232: public String getCodebase() {
233: return (codebase_);
234: }
235:
236: /**
237: * Sets the String property <b>codebase</b>.
238: *
239: * @param codebase
240: */
241: public void setCodebase(String codebase) {
242: this .codebase_ = codebase;
243: }
244:
245: /**
246: * Gets the String property <b>object</b>.
247: *
248: * @return String
249: */
250: public String getObject() {
251: return (object_);
252: }
253:
254: /**
255: * Sets the String property <b>object</b>.
256: *
257: * @param object
258: */
259: public void setObject(String object) {
260: this .object_ = object;
261: }
262:
263: /**
264: * Gets the String property <b>height</b>.
265: *
266: * @return String
267: */
268: public String getHeight() {
269: return (height_);
270: }
271:
272: /**
273: * Sets the String property <b>height</b>.
274: *
275: * @param height
276: */
277: public void setHeight(String height) {
278: this .height_ = height;
279: }
280:
281: /**
282: * Gets the String property <b>width</b>.
283: *
284: * @return String
285: */
286: public String getWidth() {
287: return (width_);
288: }
289:
290: /**
291: * Sets the String property <b>width</b>.
292: *
293: * @param width
294: */
295: public void setWidth(String width) {
296: this .width_ = width;
297: }
298:
299: /**
300: * Gets the String property <b>name</b>.
301: *
302: * @return String
303: */
304: public String getName() {
305: return (name_);
306: }
307:
308: /**
309: * Sets the String property <b>name</b>.
310: *
311: * @param name
312: */
313: public void setName(String name) {
314: this .name_ = name;
315: }
316:
317: /**
318: * Gets the String property <b>align</b>.
319: *
320: * @return String
321: */
322: public String getAlign() {
323: return (align_);
324: }
325:
326: /**
327: * Sets the String property <b>align</b>.
328: *
329: * @param align
330: */
331: public void setAlign(String align) {
332: this .align_ = align;
333: }
334:
335: /**
336: * Gets the String property <b>hspace</b>.
337: *
338: * @return String
339: */
340: public String getHspace() {
341: return (hspace_);
342: }
343:
344: /**
345: * Sets the String property <b>hspace</b>.
346: *
347: * @param hspace
348: */
349: public void setHspace(String hspace) {
350: this .hspace_ = hspace;
351: }
352:
353: /**
354: * Gets the String property <b>vspace</b>.
355: *
356: * @return String
357: */
358: public String getVspace() {
359: return (vspace_);
360: }
361:
362: /**
363: * Sets the String property <b>vspace</b>.
364: *
365: * @param vspace
366: */
367: public void setVspace(String vspace) {
368: this.vspace_ = vspace;
369: }
370: }
|