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>Html</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="html">
049: * <ref name="html.attlist"/>
050: * <ref name="head"/>
051: * <ref name="frameset"/>
052: * </element>-->
053: * <!-- for javadoc -->
054: * <pre> <element name="html">
055: * <ref name="html.attlist"/>
056: * <ref name="head"/>
057: * <ref name="frameset"/>
058: * </element></pre>
059: *
060: * @version xhtml.rng (Tue Apr 20 01:31:08 PDT 2004)
061: * @author Relaxer 1.1b (http://www.relaxer.org)
062: */
063: public class Html {
064: public static final String DIR_LTR = "ltr";
065: public static final String DIR_RTL = "rtl";
066:
067: private String version_;
068: private String xmlLang_;
069: private String lang_;
070: private String dir_;
071: private Head head_;
072: private IFramesetChoice frameset_;
073:
074: /**
075: * Creates a <code>Html</code>.
076: *
077: */
078: public Html() {
079: }
080:
081: /**
082: * Gets the String property <b>version</b>.
083: *
084: * @return String
085: */
086: public String getVersion() {
087: return (version_);
088: }
089:
090: /**
091: * Sets the String property <b>version</b>.
092: *
093: * @param version
094: */
095: public void setVersion(String version) {
096: this .version_ = version;
097: }
098:
099: /**
100: * Gets the java.util.Locale property <b>xmlLang</b>.
101: *
102: * @return java.util.Locale
103: */
104: public String getXmlLang() {
105: return (xmlLang_);
106: }
107:
108: /**
109: * Sets the java.util.Locale property <b>xmlLang</b>.
110: *
111: * @param xmlLang
112: */
113: public void setXmlLang(String xmlLang) {
114: this .xmlLang_ = xmlLang;
115: }
116:
117: /**
118: * Gets the java.util.Locale property <b>lang</b>.
119: *
120: * @return java.util.Locale
121: */
122: public String getLang() {
123: return (lang_);
124: }
125:
126: /**
127: * Sets the java.util.Locale property <b>lang</b>.
128: *
129: * @param lang
130: */
131: public void setLang(String lang) {
132: this .lang_ = lang;
133: }
134:
135: /**
136: * Gets the String property <b>dir</b>.
137: *
138: * @return String
139: */
140: public String getDir() {
141: return (dir_);
142: }
143:
144: /**
145: * Sets the String property <b>dir</b>.
146: *
147: * @param dir
148: */
149: public void setDir(String dir) {
150: this .dir_ = dir;
151: }
152:
153: /**
154: * Gets the Head property <b>head</b>.
155: *
156: * @return Head
157: */
158: public Head getHead() {
159: return (head_);
160: }
161:
162: /**
163: * Sets the Head property <b>head</b>.
164: *
165: * @param head
166: */
167: public void setHead(Head head) {
168: this .head_ = head;
169: }
170:
171: /**
172: * Gets the IFramesetChoice property <b>frameset</b>.
173: *
174: * @return IFramesetChoice
175: */
176: public IFramesetChoice getFrameset() {
177: return (frameset_);
178: }
179:
180: /**
181: * Sets the IFramesetChoice property <b>frameset</b>.
182: *
183: * @param frameset
184: */
185: public void setFrameset(IFramesetChoice frameset) {
186: this.frameset_ = frameset;
187: }
188:
189: }
|