KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > caucho > xml > HtmlLatin1


1 /*
2  * Copyright (c) 1998-2006 Caucho Technology -- all rights reserved
3  *
4  * This file is part of Resin(R) Open Source
5  *
6  * Each copy or derived work must preserve the copyright notice and this
7  * notice unmodified.
8  *
9  * Resin Open Source is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * Resin Open Source is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
17  * of NON-INFRINGEMENT. See the GNU General Public License for more
18  * details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with Resin Open Source; if not, write to the
22  * Free SoftwareFoundation, Inc.
23  * 59 Temple Place, Suite 330
24  * Boston, MA 02111-1307 USA
25  *
26  * @author Scott Ferguson
27  */

28
29 package com.caucho.xml;
30
31 /**
32  * Symbols for HTML using Latin-1 (ISO-8859-1)
33  */

34 class HtmlLatin1 {
35   private void entity(String JavaDoc name, int ch)
36   {
37   }
38
39   private void init()
40   {
41     entity("nbsp", 160);
42     entity("iexcl", 161);
43     entity("cent", 162);
44     entity("pound", 163);
45     entity("curren", 164);
46     entity("yen", 165);
47     entity("brvbar", 166);
48     entity("sect", 167);
49     entity("uml", 168);
50     entity("copy", 169);
51     entity("ordf", 170);
52     entity("laquo", 171);
53     entity("not", 172);
54     entity("shy", 173);
55     entity("reg", 174);
56     entity("macr", 175);
57     entity("deg", 176);
58     entity("plusmn", 177);
59     entity("sup2", 178);
60     entity("sup3", 179);
61     entity("acute", 180);
62     entity("micro", 181);
63     entity("para", 182);
64     entity("middot", 183);
65     entity("cedil", 184);
66     entity("sup1", 185);
67     entity("ordm", 186);
68     entity("raquo", 187);
69     entity("frac14", 188);
70     entity("frac12", 189);
71     entity("frac34", 190);
72     entity("iquest", 191);
73     entity("Agrave", 192);
74     entity("Aacute", 193);
75     entity("Acirc", 194);
76     entity("Atilde", 195);
77     entity("Auml", 196);
78     entity("Aring", 197);
79     entity("AElig", 198);
80     entity("Ccedil", 199);
81     entity("Egrave", 200);
82     entity("Eacute", 201);
83     entity("Ecirc", 202);
84     entity("Euml", 203);
85     entity("Igrave", 204);
86     entity("Iacute", 205);
87     entity("Icirc", 206);
88     entity("Iuml", 207);
89     entity("ETH", 208);
90     entity("Ntilde", 209);
91     entity("Ograve", 210);
92     entity("Oacute", 211);
93     entity("Ocirc", 212);
94     entity("Otilde", 213);
95     entity("Ouml", 214);
96     entity("times", 215);
97     entity("Oslash", 216);
98     entity("Ugrave", 217);
99     entity("Uacute", 218);
100     entity("Ucirc", 219);
101     entity("Uuml", 220);
102     entity("Yacute", 221);
103     entity("THORN", 222);
104     entity("szlig", 223);
105     entity("agrave", 224);
106     entity("aacute", 225);
107     entity("acirc", 226);
108     entity("atilde", 227);
109     entity("auml", 228);
110     entity("aring", 229);
111     entity("aelig", 230);
112     entity("ccedil", 231);
113     entity("egrave", 232);
114     entity("eacute", 233);
115     entity("ecirc", 234);
116     entity("euml", 235);
117     entity("igrave", 236);
118     entity("iacute", 237);
119     entity("icirc", 238);
120     entity("iuml", 239);
121     entity("eth", 240);
122     entity("ntilde", 241);
123     entity("ograve", 242);
124     entity("oacute", 243);
125     entity("ocirc", 244);
126     entity("otilde", 245);
127     entity("ouml", 246);
128     entity("divide", 247);
129     entity("oslash", 248);
130     entity("ugrave", 249);
131     entity("uacute", 250);
132     entity("ucirc", 251);
133     entity("uuml", 252);
134     entity("yacute", 253);
135     entity("thorn", 254);
136     entity("yuml", 255);
137   }
138 }
139
Popular Tags