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: /*
042: * HtmlTags.java
043: *
044: * Created on February 3, 2005, 9:16 AM
045: */
046:
047: package org.netbeans.modules.css.visual.model;
048:
049: /**
050: * List of html tags
051: * @author Winston Prakash
052: * @version 1.0
053: */
054: final public class HtmlTags {
055:
056: // HTML 4.0 tags
057:
058: public static final String A = "a"; // NOI18N
059: public static final String ABBR = "abbr"; // NOI18N
060: public static final String ACRONYM = "acronym"; // NOI18N
061: public static final String ADDRESS = "address"; // NOI18N
062: public static final String APPLET = "applet"; // NOI18N
063: public static final String AREA = "area"; // NOI18N
064: public static final String B = "b"; // NOI18N
065: public static final String BASE = "base"; // NOI18N
066: public static final String BASEFONT = "basefont"; // NOI18N
067: public static final String BIG = "big"; // NOI18N
068: // XXX what about <blink> ??? :-)
069: public static final String BLOCKQUOTE = "blockquote"; // NOI18N
070: public static final String BODY = "body"; // NOI18N
071: public static final String BR = "br"; // NOI18N
072: public static final String BUTTON = "button"; // NOI18N
073: public static final String CAPTION = "caption"; // NOI18N
074:
075: public static final String CENTER = "center"; // NOI18N
076: public static final String CITE = "cite"; // NOI18N
077: public static final String CODE = "code"; // NOI18N
078: public static final String COL = "col"; // NOI18N
079: public static final String COLGROUP = "colgroup"; // NOI18N
080: public static final String DD = "dd"; // NOI18N
081: public static final String DEL = "del"; // NOI18N
082: public static final String DFN = "dfn"; // NOI18N
083: public static final String DIR = "dir"; // NOI18N
084: public static final String DIV = "div"; // NOI18N
085: public static final String DL = "dl"; // NOI18N
086: public static final String DT = "dt"; // NOI18N
087: public static final String EM = "em"; // NOI18N
088: public static final String FIELDSET = "fieldset"; // NOI18N
089: public static final String FONT = "font"; // NOI18N
090: public static final String FORM = "form"; // NOI18N
091: public static final String FRAME = "frame"; // NOI18N
092: public static final String FRAMESET = "frameset"; // NOI18N
093: public static final String H1 = "h1"; // NOI18N
094: public static final String H2 = "h2"; // NOI18N
095: public static final String H3 = "h3"; // NOI18N
096: public static final String H4 = "h4"; // NOI18N
097: public static final String H5 = "h5"; // NOI18N
098: public static final String H6 = "h6"; // NOI18N
099: public static final String HEAD = "head"; // NOI18N
100: public static final String HR = "hr"; // NOI18N
101: public static final String HTML = "html"; // NOI18N
102: public static final String I = "i"; // NOI18N
103:
104: public static final String IFRAME = "iframe"; // NOI18N
105: public static final String IMG = "img"; // NOI18N
106: public static final String INPUT = "input"; // NOI18N
107: public static final String INS = "ins"; // NOI18N
108: public static final String ISINDEX = "isindex"; // NOI18N
109:
110: public static final String KBD = "kbd"; // NOI18N
111: public static final String LABEL = "label"; // NOI18N
112: public static final String LI = "li"; // NOI18N
113: public static final String LINK = "link"; // NOI18N
114: public static final String MAP = "map"; // NOI18N
115: public static final String MENU = "menu"; // NOI18N
116: public static final String META = "meta"; // NOI18N
117: public static final String NOBR = "nobr"; // NOI18N
118: public static final String NOFRAMES = "noframes"; // NOI18N
119: public static final String NOSCRIPT = "noscript"; // NOI18N
120: public static final String OBJECT = "object"; // NOI18N
121: public static final String OL = "ol"; // NOI18N
122: public static final String OPTION = "option"; // NOI18N
123: public static final String P = "p"; // NOI18N
124: public static final String PARAM = "param"; // NOI18N
125: public static final String PRE = "pre"; // NOI18N
126: public static final String Q = "q"; // NOI18N
127: public static final String S = "s"; // NOI18N
128: public static final String SAMP = "samp"; // NOI18N
129: public static final String SCRIPT = "script"; // NOI18N
130: public static final String SELECT = "select"; // NOI18N
131: public static final String SMALL = "small"; // NOI18N
132: public static final String SPAN = "span"; // NOI18N
133: public static final String STRIKE = "strike"; // NOI18N
134: public static final String STRONG = "strong"; // NOI18N
135: public static final String STYLE = "style"; // NOI18N
136: public static final String SUB = "sub"; // NOI18N
137: public static final String SUP = "sup"; // NOI18N
138: public static final String TABLE = "table"; // NOI18N
139: public static final String TBODY = "tbody"; // NOI18N
140: public static final String TD = "td"; // NOI18N
141: public static final String TEXTAREA = "textarea"; // NOI18N
142: public static final String TFOOT = "tfoot"; // NOI18N
143: public static final String TH = "th"; // NOI18N
144: public static final String THEAD = "thead"; // NOI18N
145: public static final String TITLE = "title"; // NOI18N
146: public static final String TR = "tr"; // NOI18N
147: public static final String TT = "tt"; // NOI18N
148: public static final String U = "u"; // NOI18N
149: public static final String UL = "ul"; // NOI18N
150: public static final String VAR = "var"; // NOI18N
151:
152: private static String[] tags = { A, ABBR, ACRONYM, ADDRESS, APPLET,
153: AREA, B, BASE, BASEFONT, BIG, BLOCKQUOTE, BODY, BR, BUTTON,
154: CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN,
155: DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, FRAME,
156: FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I,
157: IFRAME, IMG, INPUT, INS, ISINDEX, KBD, LABEL, LI, LINK,
158: MAP, MENU, META, NOBR, NOFRAMES, NOSCRIPT, OBJECT, OL,
159: OPTION, P, PARAM, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL,
160: SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TBODY, TD,
161: TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR };
162:
163: /** Return the set of known tags */
164: public static String[] getTags() {
165: return tags;
166: }
167:
168: }
|