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