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>A</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="a">
049: * <ref name="a.attlist"/>
050: * <ref name="Inline.model"/>
051: * </element>-->
052: * <!-- for javadoc -->
053: * <pre> <element name="a">
054: * <ref name="a.attlist"/>
055: * <ref name="Inline.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 A {
062: public static final String DIR_LTR = "ltr";
063: public static final String DIR_RTL = "rtl";
064: public static final String SHAPE_RECT = "rect";
065: public static final String SHAPE_CIRCLE = "circle";
066: public static final String SHAPE_POLY = "poly";
067: public static final String SHAPE_DEFAULT = "default";
068: private String id_;
069: private String classValue_;
070: private String title_;
071: private String style_;
072: private String xmlLang_;
073: private String lang_;
074: private String dir_;
075: private String onclick_;
076: private String ondblclick_;
077: private String onmousedown_;
078: private String onmouseup_;
079: private String onmouseover_;
080: private String onmousemove_;
081: private String onmouseout_;
082: private String onkeypress_;
083: private String onkeydown_;
084: private String onkeyup_;
085: private String href_;
086: private String charset_;
087: private String type_;
088: private java.util.Locale hreflang_;
089: private String rel_;
090: private String rev_;
091: private String accesskey_;
092: private String tabindex_;
093: private String shape_;
094: private String coords_;
095: private String onblur_;
096: private String onfocus_;
097: private String target_;
098: private String name_;
099:
100: /**
101: * Creates a <code>A</code>.
102: *
103: */
104: public A() {
105: }
106:
107: /**
108: * Gets the String property <b>id</b>.
109: *
110: * @return String
111: */
112: public String getId() {
113: return (id_);
114: }
115:
116: /**
117: * Sets the String property <b>id</b>.
118: *
119: * @param id
120: */
121: public void setId(String id) {
122: this .id_ = id;
123: }
124:
125: /**
126: * Gets the String property <b>classValue</b>.
127: *
128: * @return String
129: */
130: public String getStyleClass() {
131: return classValue_;
132: }
133:
134: /**
135: * Sets the String property <b>classValue</b>.
136: *
137: * @param classValue
138: */
139: public void setStyleClass(String classValue) {
140: this .classValue_ = classValue;
141: }
142:
143: /**
144: * Gets the String property <b>title</b>.
145: *
146: * @return String
147: */
148: public String getTitle() {
149: return (title_);
150: }
151:
152: /**
153: * Sets the String property <b>title</b>.
154: *
155: * @param title
156: */
157: public void setTitle(String title) {
158: this .title_ = title;
159: }
160:
161: /**
162: * Gets the String property <b>style</b>.
163: *
164: * @return String
165: */
166: public String getStyle() {
167: return (style_);
168: }
169:
170: /**
171: * Sets the String property <b>style</b>.
172: *
173: * @param style
174: */
175: public void setStyle(String style) {
176: this .style_ = style;
177: }
178:
179: /**
180: * Gets the java.util.Locale property <b>xmlLang</b>.
181: *
182: * @return java.util.Locale
183: */
184: public String getXmlLang() {
185: return (xmlLang_);
186: }
187:
188: /**
189: * Sets the java.util.Locale property <b>xmlLang</b>.
190: *
191: * @param xmlLang
192: */
193: public void setXmlLang(String xmlLang) {
194: this .xmlLang_ = xmlLang;
195: }
196:
197: /**
198: * Gets the java.util.Locale property <b>lang</b>.
199: *
200: * @return java.util.Locale
201: */
202: public String getLang() {
203: return (lang_);
204: }
205:
206: /**
207: * Sets the java.util.Locale property <b>lang</b>.
208: *
209: * @param lang
210: */
211: public void setLang(String lang) {
212: this .lang_ = lang;
213: }
214:
215: /**
216: * Gets the String property <b>dir</b>.
217: *
218: * @return String
219: */
220: public String getDir() {
221: return (dir_);
222: }
223:
224: /**
225: * Sets the String property <b>dir</b>.
226: *
227: * @param dir
228: */
229: public void setDir(String dir) {
230: this .dir_ = dir;
231: }
232:
233: /**
234: * Gets the String property <b>onclick</b>.
235: *
236: * @return String
237: */
238: public String getOnclick() {
239: return (onclick_);
240: }
241:
242: /**
243: * Sets the String property <b>onclick</b>.
244: *
245: * @param onclick
246: */
247: public void setOnclick(String onclick) {
248: this .onclick_ = onclick;
249: }
250:
251: /**
252: * Gets the String property <b>ondblclick</b>.
253: *
254: * @return String
255: */
256: public String getOndblclick() {
257: return (ondblclick_);
258: }
259:
260: /**
261: * Sets the String property <b>ondblclick</b>.
262: *
263: * @param ondblclick
264: */
265: public void setOndblclick(String ondblclick) {
266: this .ondblclick_ = ondblclick;
267: }
268:
269: /**
270: * Gets the String property <b>onmousedown</b>.
271: *
272: * @return String
273: */
274: public String getOnmousedown() {
275: return (onmousedown_);
276: }
277:
278: /**
279: * Sets the String property <b>onmousedown</b>.
280: *
281: * @param onmousedown
282: */
283: public void setOnmousedown(String onmousedown) {
284: this .onmousedown_ = onmousedown;
285: }
286:
287: /**
288: * Gets the String property <b>onmouseup</b>.
289: *
290: * @return String
291: */
292: public String getOnmouseup() {
293: return (onmouseup_);
294: }
295:
296: /**
297: * Sets the String property <b>onmouseup</b>.
298: *
299: * @param onmouseup
300: */
301: public void setOnmouseup(String onmouseup) {
302: this .onmouseup_ = onmouseup;
303: }
304:
305: /**
306: * Gets the String property <b>onmouseover</b>.
307: *
308: * @return String
309: */
310: public String getOnmouseover() {
311: return (onmouseover_);
312: }
313:
314: /**
315: * Sets the String property <b>onmouseover</b>.
316: *
317: * @param onmouseover
318: */
319: public void setOnmouseover(String onmouseover) {
320: this .onmouseover_ = onmouseover;
321: }
322:
323: /**
324: * Gets the String property <b>onmousemove</b>.
325: *
326: * @return String
327: */
328: public String getOnmousemove() {
329: return (onmousemove_);
330: }
331:
332: /**
333: * Sets the String property <b>onmousemove</b>.
334: *
335: * @param onmousemove
336: */
337: public void setOnmousemove(String onmousemove) {
338: this .onmousemove_ = onmousemove;
339: }
340:
341: /**
342: * Gets the String property <b>onmouseout</b>.
343: *
344: * @return String
345: */
346: public String getOnmouseout() {
347: return (onmouseout_);
348: }
349:
350: /**
351: * Sets the String property <b>onmouseout</b>.
352: *
353: * @param onmouseout
354: */
355: public void setOnmouseout(String onmouseout) {
356: this .onmouseout_ = onmouseout;
357: }
358:
359: /**
360: * Gets the String property <b>onkeypress</b>.
361: *
362: * @return String
363: */
364: public String getOnkeypress() {
365: return (onkeypress_);
366: }
367:
368: /**
369: * Sets the String property <b>onkeypress</b>.
370: *
371: * @param onkeypress
372: */
373: public void setOnkeypress(String onkeypress) {
374: this .onkeypress_ = onkeypress;
375: }
376:
377: /**
378: * Gets the String property <b>onkeydown</b>.
379: *
380: * @return String
381: */
382: public String getOnkeydown() {
383: return (onkeydown_);
384: }
385:
386: /**
387: * Sets the String property <b>onkeydown</b>.
388: *
389: * @param onkeydown
390: */
391: public void setOnkeydown(String onkeydown) {
392: this .onkeydown_ = onkeydown;
393: }
394:
395: /**
396: * Gets the String property <b>onkeyup</b>.
397: *
398: * @return String
399: */
400: public String getOnkeyup() {
401: return (onkeyup_);
402: }
403:
404: /**
405: * Sets the String property <b>onkeyup</b>.
406: *
407: * @param onkeyup
408: */
409: public void setOnkeyup(String onkeyup) {
410: this .onkeyup_ = onkeyup;
411: }
412:
413: /**
414: * Gets the String property <b>href</b>.
415: *
416: * @return String
417: */
418: public String getHref() {
419: return (href_);
420: }
421:
422: /**
423: * Sets the String property <b>href</b>.
424: *
425: * @param href
426: */
427: public void setHref(String href) {
428: this .href_ = href;
429: }
430:
431: /**
432: * Gets the String property <b>charset</b>.
433: *
434: * @return String
435: */
436: public String getCharset() {
437: return (charset_);
438: }
439:
440: /**
441: * Sets the String property <b>charset</b>.
442: *
443: * @param charset
444: */
445: public void setCharset(String charset) {
446: this .charset_ = charset;
447: }
448:
449: /**
450: * Gets the String property <b>type</b>.
451: *
452: * @return String
453: */
454: public String getType() {
455: return (type_);
456: }
457:
458: /**
459: * Sets the String property <b>type</b>.
460: *
461: * @param type
462: */
463: public void setType(String type) {
464: this .type_ = type;
465: }
466:
467: /**
468: * Gets the java.util.Locale property <b>hreflang</b>.
469: *
470: * @return java.util.Locale
471: */
472: public java.util.Locale getHreflang() {
473: return (hreflang_);
474: }
475:
476: /**
477: * Sets the java.util.Locale property <b>hreflang</b>.
478: *
479: * @param hreflang
480: */
481: public void setHreflang(java.util.Locale hreflang) {
482: this .hreflang_ = hreflang;
483: }
484:
485: /**
486: * Gets the String property <b>rel</b>.
487: *
488: * @return String
489: */
490: public String getRel() {
491: return rel_;
492: }
493:
494: /**
495: * Sets the String property <b>rel</b>.
496: *
497: * @param rel
498: */
499: public void setRel(String rel) {
500: this .rel_ = rel;
501: }
502:
503: /**
504: * Gets the String property <b>rev</b>.
505: *
506: * @return String[]
507: */
508: public String getRev() {
509:
510: return rev_;
511: }
512:
513: /**
514: * Sets the String property <b>rev</b>.
515: *
516: * @param rev
517: */
518: public void setRev(String rev) {
519: this .rev_ = rev;
520: }
521:
522: /**
523: * Gets the String property <b>accesskey</b>.
524: *
525: * @return String
526: */
527: public String getAccesskey() {
528: return (accesskey_);
529: }
530:
531: /**
532: * Sets the String property <b>accesskey</b>.
533: *
534: * @param accesskey
535: */
536: public void setAccesskey(String accesskey) {
537: this .accesskey_ = accesskey;
538: }
539:
540: /**
541: * Gets the String property <b>tabindex</b>.
542: *
543: * @return String
544: */
545: public String getTabindex() {
546: return (tabindex_);
547: }
548:
549: /**
550: * Sets the String property <b>tabindex</b>.
551: *
552: * @param tabindex
553: */
554: public void setTabindex(String tabindex) {
555: this .tabindex_ = tabindex;
556: }
557:
558: /**
559: * Gets the String property <b>shape</b>.
560: *
561: * @return String
562: */
563: public String getShape() {
564: return (shape_);
565: }
566:
567: /**
568: * Sets the String property <b>shape</b>.
569: *
570: * @param shape
571: */
572: public void setShape(String shape) {
573: this .shape_ = shape;
574: }
575:
576: /**
577: * Gets the String property <b>coords</b>.
578: *
579: * @return String
580: */
581: public String getCoords() {
582: return (coords_);
583: }
584:
585: /**
586: * Sets the String property <b>coords</b>.
587: *
588: * @param coords
589: */
590: public void setCoords(String coords) {
591: this .coords_ = coords;
592: }
593:
594: /**
595: * Gets the String property <b>onblur</b>.
596: *
597: * @return String
598: */
599: public String getOnblur() {
600: return (onblur_);
601: }
602:
603: /**
604: * Sets the String property <b>onblur</b>.
605: *
606: * @param onblur
607: */
608: public void setOnblur(String onblur) {
609: this .onblur_ = onblur;
610: }
611:
612: /**
613: * Gets the String property <b>onfocus</b>.
614: *
615: * @return String
616: */
617: public String getOnfocus() {
618: return (onfocus_);
619: }
620:
621: /**
622: * Sets the String property <b>onfocus</b>.
623: *
624: * @param onfocus
625: */
626: public void setOnfocus(String onfocus) {
627: this .onfocus_ = onfocus;
628: }
629:
630: /**
631: * Gets the String property <b>target</b>.
632: *
633: * @return String
634: */
635: public String getTarget() {
636: return (target_);
637: }
638:
639: /**
640: * Sets the String property <b>target</b>.
641: *
642: * @param target
643: */
644: public void setTarget(String target) {
645: this .target_ = target;
646: }
647:
648: /**
649: * Gets the String property <b>name</b>.
650: *
651: * @return String
652: */
653: public String getName() {
654: return (name_);
655: }
656:
657: /**
658: * Sets the String property <b>name</b>.
659: *
660: * @param name
661: */
662: public void setName(String name) {
663: this.name_ = name;
664: }
665: }
|