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