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>Head</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="head">
049: * <ref name="head.attlist"/>
050: * <ref name="head.content"/>
051: * </element>-->
052: * <!-- for javadoc -->
053: * <pre> <element name="head">
054: * <ref name="head.attlist"/>
055: * <ref name="head.content"/>
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 Head {
062: public static final String DIR_LTR = "ltr";
063: public static final String DIR_RTL = "rtl";
064:
065: private String xmlLang_;
066: private String lang_;
067: private String dir_;
068: private String profile_;
069: private Title title_;
070: private Base base_;
071: private Isindex isindex_;
072:
073: /**
074: * Creates a <code>Head</code>.
075: *
076: */
077: public Head() {
078: }
079:
080: /**
081: * Gets the java.util.Locale property <b>xmlLang</b>.
082: *
083: * @return java.util.Locale
084: */
085: public String getXmlLang() {
086: return (xmlLang_);
087: }
088:
089: /**
090: * Sets the java.util.Locale property <b>xmlLang</b>.
091: *
092: * @param xmlLang
093: */
094: public void setXmlLang(String xmlLang) {
095: this .xmlLang_ = xmlLang;
096: }
097:
098: /**
099: * Gets the java.util.Locale property <b>lang</b>.
100: *
101: * @return java.util.Locale
102: */
103: public String getLang() {
104: return (lang_);
105: }
106:
107: /**
108: * Sets the java.util.Locale property <b>lang</b>.
109: *
110: * @param lang
111: */
112: public void setLang(String lang) {
113: this .lang_ = lang;
114: }
115:
116: /**
117: * Gets the String property <b>dir</b>.
118: *
119: * @return String
120: */
121: public String getDir() {
122: return (dir_);
123: }
124:
125: /**
126: * Sets the String property <b>dir</b>.
127: *
128: * @param dir
129: */
130: public void setDir(String dir) {
131: this .dir_ = dir;
132: }
133:
134: /**
135: * Gets the String property <b>profile</b>.
136: *
137: * @return String
138: */
139: public String getProfile() {
140: return (profile_);
141: }
142:
143: /**
144: * Sets the String property <b>profile</b>.
145: *
146: * @param profile
147: */
148: public void setProfile(String profile) {
149: this .profile_ = profile;
150: }
151:
152: /**
153: * Gets the Title property <b>title</b>.
154: *
155: * @return Title
156: */
157: public Title getTitle() {
158: return (title_);
159: }
160:
161: /**
162: * Sets the Title property <b>title</b>.
163: *
164: * @param title
165: */
166: public void setTitle(Title title) {
167: this .title_ = title;
168: }
169:
170: /**
171: * Gets the Base property <b>base</b>.
172: *
173: * @return Base
174: */
175: public Base getBase() {
176: return (base_);
177: }
178:
179: /**
180: * Sets the Base property <b>base</b>.
181: *
182: * @param base
183: */
184: public void setBase(Base base) {
185: this .base_ = base;
186: }
187:
188: /**
189: * Gets the Isindex property <b>isindex</b>.
190: *
191: * @return Isindex
192: */
193: public Isindex getIsindex() {
194: return (isindex_);
195: }
196:
197: /**
198: * Sets the Isindex property <b>isindex</b>.
199: *
200: * @param isindex
201: */
202: public void setIsindex(Isindex isindex) {
203: this.isindex_ = isindex;
204: }
205:
206: }
|