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>Br</b> is generated from xhtml.rng by Relaxer.
045: * This class is derived from:
046: *
047: * <!-- for programmer
048: * <element name="br">
049: * <ref name="br.attlist"/>
050: * <empty/>
051: * </element>-->
052: * <!-- for javadoc -->
053: * <pre> <element name="br">
054: * <ref name="br.attlist"/>
055: * <empty/>
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 Br {
062: public static final String CLEAR_LEFT = "left";
063: public static final String CLEAR_ALL = "all";
064: public static final String CLEAR_RIGHT = "right";
065: public static final String CLEAR_NONE = "none";
066: private String id_;
067: private String classValue_;
068: private String title_;
069: private String style_;
070: private String clear_;
071:
072: /**
073: * Creates a <code>Br</code>.
074: *
075: */
076: public Br() {
077: }
078:
079: /**
080: * Gets the String property <b>id</b>.
081: *
082: * @return String
083: */
084: public String getId() {
085: return (id_);
086: }
087:
088: /**
089: * Sets the String property <b>id</b>.
090: *
091: * @param id
092: */
093: public void setId(String id) {
094: this .id_ = id;
095: }
096:
097: /**
098: * Gets the String property <b>classValue</b>.
099: *
100: * @return String
101: */
102: public String getClassValue() {
103: return classValue_;
104: }
105:
106: /**
107: * Sets the String property <b>classValue</b>.
108: *
109: * @param classValue
110: */
111: public void setClassValue(String classValue) {
112: this .classValue_ = classValue;
113: }
114:
115: /**
116: * Gets the String property <b>title</b>.
117: *
118: * @return String
119: */
120: public String getTitle() {
121: return (title_);
122: }
123:
124: /**
125: * Sets the String property <b>title</b>.
126: *
127: * @param title
128: */
129: public void setTitle(String title) {
130: this .title_ = title;
131: }
132:
133: /**
134: * Gets the String property <b>style</b>.
135: *
136: * @return String
137: */
138: public String getStyle() {
139: return (style_);
140: }
141:
142: /**
143: * Sets the String property <b>style</b>.
144: *
145: * @param style
146: */
147: public void setStyle(String style) {
148: this .style_ = style;
149: }
150:
151: /**
152: * Gets the String property <b>clear</b>.
153: *
154: * @return String
155: */
156: public String getClear() {
157: return (clear_);
158: }
159:
160: /**
161: * Sets the String property <b>clear</b>.
162: *
163: * @param clear
164: */
165: public void setClear(String clear) {
166: this.clear_ = clear;
167: }
168: }
|