001: /*
002: * Copyright (c) 1998-2008 Caucho Technology -- all rights reserved
003: *
004: * This file is part of Resin(R) Open Source
005: *
006: * Each copy or derived work must preserve the copyright notice and this
007: * notice unmodified.
008: *
009: * Resin Open Source is free software; you can redistribute it and/or modify
010: * it under the terms of the GNU General Public License as published by
011: * the Free Software Foundation; either version 2 of the License, or
012: * (at your option) any later version.
013: *
014: * Resin Open Source is distributed in the hope that it will be useful,
015: * but WITHOUT ANY WARRANTY; without even the implied warranty of
016: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
017: * of NON-INFRINGEMENT. See the GNU General Public License for more
018: * details.
019: *
020: * You should have received a copy of the GNU General Public License
021: * along with Resin Open Source; if not, write to the
022: * Free SoftwareFoundation, Inc.
023: * 59 Temple Place, Suite 330
024: * Boston, MA 02111-1307 USA
025: *
026: * @author Scott Ferguson
027: */
028:
029: package com.caucho.xml2;
030:
031: /**
032: * Symbols for HTML using Latin-1 (ISO-8859-1)
033: */
034: class HtmlLatin1 {
035: private void entity(String name, int ch) {
036: }
037:
038: private void init() {
039: entity("nbsp", 160);
040: entity("iexcl", 161);
041: entity("cent", 162);
042: entity("pound", 163);
043: entity("curren", 164);
044: entity("yen", 165);
045: entity("brvbar", 166);
046: entity("sect", 167);
047: entity("uml", 168);
048: entity("copy", 169);
049: entity("ordf", 170);
050: entity("laquo", 171);
051: entity("not", 172);
052: entity("shy", 173);
053: entity("reg", 174);
054: entity("macr", 175);
055: entity("deg", 176);
056: entity("plusmn", 177);
057: entity("sup2", 178);
058: entity("sup3", 179);
059: entity("acute", 180);
060: entity("micro", 181);
061: entity("para", 182);
062: entity("middot", 183);
063: entity("cedil", 184);
064: entity("sup1", 185);
065: entity("ordm", 186);
066: entity("raquo", 187);
067: entity("frac14", 188);
068: entity("frac12", 189);
069: entity("frac34", 190);
070: entity("iquest", 191);
071: entity("Agrave", 192);
072: entity("Aacute", 193);
073: entity("Acirc", 194);
074: entity("Atilde", 195);
075: entity("Auml", 196);
076: entity("Aring", 197);
077: entity("AElig", 198);
078: entity("Ccedil", 199);
079: entity("Egrave", 200);
080: entity("Eacute", 201);
081: entity("Ecirc", 202);
082: entity("Euml", 203);
083: entity("Igrave", 204);
084: entity("Iacute", 205);
085: entity("Icirc", 206);
086: entity("Iuml", 207);
087: entity("ETH", 208);
088: entity("Ntilde", 209);
089: entity("Ograve", 210);
090: entity("Oacute", 211);
091: entity("Ocirc", 212);
092: entity("Otilde", 213);
093: entity("Ouml", 214);
094: entity("times", 215);
095: entity("Oslash", 216);
096: entity("Ugrave", 217);
097: entity("Uacute", 218);
098: entity("Ucirc", 219);
099: entity("Uuml", 220);
100: entity("Yacute", 221);
101: entity("THORN", 222);
102: entity("szlig", 223);
103: entity("agrave", 224);
104: entity("aacute", 225);
105: entity("acirc", 226);
106: entity("atilde", 227);
107: entity("auml", 228);
108: entity("aring", 229);
109: entity("aelig", 230);
110: entity("ccedil", 231);
111: entity("egrave", 232);
112: entity("eacute", 233);
113: entity("ecirc", 234);
114: entity("euml", 235);
115: entity("igrave", 236);
116: entity("iacute", 237);
117: entity("icirc", 238);
118: entity("iuml", 239);
119: entity("eth", 240);
120: entity("ntilde", 241);
121: entity("ograve", 242);
122: entity("oacute", 243);
123: entity("ocirc", 244);
124: entity("otilde", 245);
125: entity("ouml", 246);
126: entity("divide", 247);
127: entity("oslash", 248);
128: entity("ugrave", 249);
129: entity("uacute", 250);
130: entity("ucirc", 251);
131: entity("uuml", 252);
132: entity("yacute", 253);
133: entity("thorn", 254);
134: entity("yuml", 255);
135: }
136: }
|