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>Ol</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="ol">
049: * <ref name="ol.attlist"/>
050: * <oneOrMore>
051: * <ref name="li"/>
052: * </oneOrMore>
053: * </element>-->
054: * <!-- for javadoc -->
055: * <pre> <element name="ol">
056: * <ref name="ol.attlist"/>
057: * <oneOrMore>
058: * <ref name="li"/>
059: * </oneOrMore>
060: * </element></pre>
061: *
062: * @version xhtml.rng (Tue Apr 20 01:31:08 PDT 2004)
063: * @author Relaxer 1.1b (http://www.relaxer.org)
064: */
065: public class Ol {
066: public static final String DIR_LTR = "ltr";
067: public static final String DIR_RTL = "rtl";
068: public static final String COMPACT_COMPACT = "compact";
069:
070: private String id_;
071: private String classValue_ = null;
072: private String title_;
073: private String style_;
074: private String xmlLang_;
075: private String lang_;
076: private String dir_;
077: private String onclick_;
078: private String ondblclick_;
079: private String onmousedown_;
080: private String onmouseup_;
081: private String onmouseover_;
082: private String onmousemove_;
083: private String onmouseout_;
084: private String onkeypress_;
085: private String onkeydown_;
086: private String onkeyup_;
087: private String type_;
088: private String compact_;
089: private String start_;
090:
091: /**
092: * Creates a <code>Ol</code>.
093: *
094: */
095: public Ol() {
096: }
097:
098: /**
099: * Gets the String property <b>id</b>.
100: *
101: * @return String
102: */
103: public String getId() {
104: return (id_);
105: }
106:
107: /**
108: * Sets the String property <b>id</b>.
109: *
110: * @param id
111: */
112: public void setId(String id) {
113: this .id_ = id;
114: }
115:
116: /**
117: * Gets the String property <b>classValue</b>.
118: *
119: * @return String
120: */
121: public String getStyleClass() {
122:
123: return classValue_;
124: }
125:
126: /**
127: * Sets the String property <b>classValue</b>.
128: *
129: * @param classValue
130: */
131: public void setStyleClass(String classValue) {
132:
133: this .classValue_ = classValue;
134: }
135:
136: /**
137: * Gets the String property <b>title</b>.
138: *
139: * @return String
140: */
141: public String getTitle() {
142: return (title_);
143: }
144:
145: /**
146: * Sets the String property <b>title</b>.
147: *
148: * @param title
149: */
150: public void setTitle(String title) {
151: this .title_ = title;
152: }
153:
154: /**
155: * Gets the String property <b>style</b>.
156: *
157: * @return String
158: */
159: public String getStyle() {
160: return (style_);
161: }
162:
163: /**
164: * Sets the String property <b>style</b>.
165: *
166: * @param style
167: */
168: public void setStyle(String style) {
169: this .style_ = style;
170: }
171:
172: /**
173: * Gets the java.util.Locale property <b>xmlLang</b>.
174: *
175: * @return java.util.Locale
176: */
177: public String getXmlLang() {
178: return (xmlLang_);
179: }
180:
181: /**
182: * Sets the java.util.Locale property <b>xmlLang</b>.
183: *
184: * @param xmlLang
185: */
186: public void setXmlLang(String xmlLang) {
187: this .xmlLang_ = xmlLang;
188: }
189:
190: /**
191: * Gets the java.util.Locale property <b>lang</b>.
192: *
193: * @return java.util.Locale
194: */
195: public String getLang() {
196: return (lang_);
197: }
198:
199: /**
200: * Sets the java.util.Locale property <b>lang</b>.
201: *
202: * @param lang
203: */
204: public void setLang(String lang) {
205: this .lang_ = lang;
206: }
207:
208: /**
209: * Gets the String property <b>dir</b>.
210: *
211: * @return String
212: */
213: public String getDir() {
214: return (dir_);
215: }
216:
217: /**
218: * Sets the String property <b>dir</b>.
219: *
220: * @param dir
221: */
222: public void setDir(String dir) {
223: this .dir_ = dir;
224: }
225:
226: /**
227: * Gets the String property <b>onclick</b>.
228: *
229: * @return String
230: */
231: public String getOnclick() {
232: return (onclick_);
233: }
234:
235: /**
236: * Sets the String property <b>onclick</b>.
237: *
238: * @param onclick
239: */
240: public void setOnclick(String onclick) {
241: this .onclick_ = onclick;
242: }
243:
244: /**
245: * Gets the String property <b>ondblclick</b>.
246: *
247: * @return String
248: */
249: public String getOndblclick() {
250: return (ondblclick_);
251: }
252:
253: /**
254: * Sets the String property <b>ondblclick</b>.
255: *
256: * @param ondblclick
257: */
258: public void setOndblclick(String ondblclick) {
259: this .ondblclick_ = ondblclick;
260: }
261:
262: /**
263: * Gets the String property <b>onmousedown</b>.
264: *
265: * @return String
266: */
267: public String getOnmousedown() {
268: return (onmousedown_);
269: }
270:
271: /**
272: * Sets the String property <b>onmousedown</b>.
273: *
274: * @param onmousedown
275: */
276: public void setOnmousedown(String onmousedown) {
277: this .onmousedown_ = onmousedown;
278: }
279:
280: /**
281: * Gets the String property <b>onmouseup</b>.
282: *
283: * @return String
284: */
285: public String getOnmouseup() {
286: return (onmouseup_);
287: }
288:
289: /**
290: * Sets the String property <b>onmouseup</b>.
291: *
292: * @param onmouseup
293: */
294: public void setOnmouseup(String onmouseup) {
295: this .onmouseup_ = onmouseup;
296: }
297:
298: /**
299: * Gets the String property <b>onmouseover</b>.
300: *
301: * @return String
302: */
303: public String getOnmouseover() {
304: return (onmouseover_);
305: }
306:
307: /**
308: * Sets the String property <b>onmouseover</b>.
309: *
310: * @param onmouseover
311: */
312: public void setOnmouseover(String onmouseover) {
313: this .onmouseover_ = onmouseover;
314: }
315:
316: /**
317: * Gets the String property <b>onmousemove</b>.
318: *
319: * @return String
320: */
321: public String getOnmousemove() {
322: return (onmousemove_);
323: }
324:
325: /**
326: * Sets the String property <b>onmousemove</b>.
327: *
328: * @param onmousemove
329: */
330: public void setOnmousemove(String onmousemove) {
331: this .onmousemove_ = onmousemove;
332: }
333:
334: /**
335: * Gets the String property <b>onmouseout</b>.
336: *
337: * @return String
338: */
339: public String getOnmouseout() {
340: return (onmouseout_);
341: }
342:
343: /**
344: * Sets the String property <b>onmouseout</b>.
345: *
346: * @param onmouseout
347: */
348: public void setOnmouseout(String onmouseout) {
349: this .onmouseout_ = onmouseout;
350: }
351:
352: /**
353: * Gets the String property <b>onkeypress</b>.
354: *
355: * @return String
356: */
357: public String getOnkeypress() {
358: return (onkeypress_);
359: }
360:
361: /**
362: * Sets the String property <b>onkeypress</b>.
363: *
364: * @param onkeypress
365: */
366: public void setOnkeypress(String onkeypress) {
367: this .onkeypress_ = onkeypress;
368: }
369:
370: /**
371: * Gets the String property <b>onkeydown</b>.
372: *
373: * @return String
374: */
375: public String getOnkeydown() {
376: return (onkeydown_);
377: }
378:
379: /**
380: * Sets the String property <b>onkeydown</b>.
381: *
382: * @param onkeydown
383: */
384: public void setOnkeydown(String onkeydown) {
385: this .onkeydown_ = onkeydown;
386: }
387:
388: /**
389: * Gets the String property <b>onkeyup</b>.
390: *
391: * @return String
392: */
393: public String getOnkeyup() {
394: return (onkeyup_);
395: }
396:
397: /**
398: * Sets the String property <b>onkeyup</b>.
399: *
400: * @param onkeyup
401: */
402: public void setOnkeyup(String onkeyup) {
403: this .onkeyup_ = onkeyup;
404: }
405:
406: /**
407: * Gets the String property <b>type</b>.
408: *
409: * @return String
410: */
411: public String getType() {
412: return (type_);
413: }
414:
415: /**
416: * Sets the String property <b>type</b>.
417: *
418: * @param type
419: */
420: public void setType(String type) {
421: this .type_ = type;
422: }
423:
424: /**
425: * Gets the String property <b>compact</b>.
426: *
427: * @return String
428: */
429: public String getCompact() {
430: return (compact_);
431: }
432:
433: /**
434: * Sets the String property <b>compact</b>.
435: *
436: * @param compact
437: */
438: public void setCompact(String compact) {
439: this .compact_ = compact;
440: }
441:
442: /**
443: * Gets the String property <b>start</b>.
444: *
445: * @return String
446: */
447: public String getStart() {
448: return (start_);
449: }
450:
451: /**
452: * Sets the String property <b>start</b>.
453: *
454: * @param start
455: */
456: public void setStart(String start) {
457: this.start_ = start;
458: }
459:
460: }
|