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