misc
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / html / IHTMLConstants.java
1 package net.sourceforge.phpeclipse.phpeditor.html;
2
3
4 /**
5  * @author chrisl
6  */
7 public interface IHTMLConstants {
8
9         int NONE=0;
10         int TEXT=1;
11         int FOLDER=2;
12         int ANCHOR=3;
13         
14         /** 
15          * Tags that do not allow end tag.
16          * Required that tags that allow optional end tag should always have end tag.
17          */
18         String[] EMPTY_TAGS =
19                 new String[] {
20                         "AREA",
21                         "BASE",
22                         "BASEFONT",
23                         "BR",
24                         "COL",
25                         "FRAME",
26                         "HR",
27                         "IMG",
28                         "INPUT",
29                         "ISINDEX",
30                         "LINK",
31                         "META",
32                         "PARAM",
33                         };
34
35         String[] START_TAGS =
36                 new String[] {
37                         "A",
38                         "ADDRESS",
39                         "APPLET",
40                         "B",
41                         "BIG",
42                         "BLOCKQUOTE",
43                         "BODY",
44                         "CAPTION",
45                         "CENTER",
46                         "CITE",
47                         "CODE",
48                         "COL",
49                         "COLGROUP",
50                         "DD",
51                         "DFN",
52                         "DIR",
53                         "DIV",
54                         "DL",
55                         "DT",
56                         "EM",
57                         "FONT",
58                         "FORM",
59                         "FRAMESET",
60                         "H1",
61                         "H2",
62                         "H3",
63                         "H4",
64                         "H5",
65                         "H6",
66                         "HEAD",
67                         "HTML",
68                         "I",
69                         "KBD",
70                         "LI",
71                         "MAP",
72                         "MENU",
73                         "NOBR",
74                         "NOFRAMES",
75                         "OBJECT",
76                         "OL",
77                         "OPTION",
78                         "P",
79                         "PRE",
80                         "SAMP",
81                         "SCRIPT",
82                         "SELECT",
83                         "SMALL",
84                         "SPAN",
85                         "STRIKE",
86                         "S",
87                         "STRONG",
88                         "STYLE",
89                         "SUB",
90                         "SUP",
91                         "TABLE",
92                         "TD",
93                         "TEXTAREA",
94                         "TH",
95                         "TITLE",
96                         "TR",
97                         "TT",
98                         "U",
99                         "UL",
100                         "VAR",
101                         };
102
103         /** Line break before and after tag. */
104         String[] BLOCK_TAGS =
105                 new String[] {
106                         "A",
107                         "APPLET",
108                         "AREA",
109                         "BASE",
110                         "BASEFONT",
111                         "BLOCKQUOTE",
112                         "BODY",
113                         "BR",
114                         "CAPTION",
115                         "CITE",
116                         "CODE",
117                         "DD",
118                         "DFN",
119                         "DIR",
120                         "DIV",
121                         "DL",
122                         "DT",
123                         "FORM",
124                         "FRAME",
125                         "FRAMESET",
126                         "H1",
127                         "H2",
128                         "H3",
129                         "H4",
130                         "H5",
131                         "H6",
132                         "HEAD",
133                         "HR",
134                         "HTML",
135                         "IMG",
136                         "INPUT",
137                         "ISINDEX",
138                         "LI",
139                         "LINK",
140                         "MAP",
141                         "MENU",
142                         "META",
143                         "NOBR",
144                         "NOFRAMES",
145                         "OBJECT",
146                         "OL",
147                         "OPTION",
148                         "P",
149                         "PARAM",
150                         "PRE",
151                         "SAMP",
152                         "SCRIPT",
153                         "SELECT",
154                         "STRIKE",
155                         "TABLE",
156                         "TD",
157                         "TEXTAREA",
158                         "TH",
159                         "TITLE",
160                         "TR",
161                         "UL",
162                         };
163 }