home *** CD-ROM | disk | FTP | other *** search
/ Popular Software (Premium Edition) / mycd.iso / INTERNET / NETSCAP4.06 / CP32E406.EXE / netcast.z / ncjava10.jar / netscape / palomar / htmllite / LiteParser.class (.txt) next >
Encoding:
Java Class File  |  1998-02-26  |  13.7 KB  |  489 lines

  1. package netscape.palomar.htmllite;
  2.  
  3. import java.util.Enumeration;
  4. import java.util.Vector;
  5. import netscape.palomar.sgml.SGMLParseTableEntry;
  6. import netscape.palomar.sgml.SGMLParser;
  7. import netscape.palomar.util.CascadedException;
  8.  
  9. public class LiteParser extends SGMLParser {
  10.    public static int Counter = 1;
  11.    static LiteParser _singletonParser = null;
  12.  
  13.    private LiteParser() throws CascadedException {
  14.       this.InitializeParseTable();
  15.    }
  16.  
  17.    public static synchronized LiteParser getParser() throws CascadedException {
  18.       if (_singletonParser == null) {
  19.          _singletonParser = new LiteParser();
  20.       }
  21.  
  22.       return _singletonParser;
  23.    }
  24.  
  25.    public static void appendVector(Vector a, Vector b) {
  26.       Enumeration e = b.elements();
  27.  
  28.       while(e.hasMoreElements()) {
  29.          a.addElement(e.nextElement());
  30.       }
  31.  
  32.    }
  33.  
  34.    public String getHTMLInfoDir() {
  35.       return "netscape.palomar.hi.";
  36.    }
  37.  
  38.    public void InitializeParseTable() throws CascadedException {
  39.       try {
  40.          super.parseTable.clear();
  41.          super._unknownTagClass = Class.forName("netscape.palomar.sgml.SGMLTagImpl");
  42.          super._textClass = Class.forName("netscape.palomar.sgml.SGMLTextImpl");
  43.          super._scriptClass = super._textClass;
  44.          super._treeTopClass = Class.forName("netscape.palomar.htmllite.TagTop");
  45.          Class TagStructureClass = Class.forName("netscape.palomar.htmllite.TagStructure");
  46.          Class TagNormalClass = Class.forName("netscape.palomar.sgml.SGMLTagImpl");
  47.          SGMLParseTableEntry tx = new SGMLParseTableEntry(this, super._unknownTagClass);
  48.          tx.contentEmpty = true;
  49.          super.parseTable.put("%UNKNOWN", tx);
  50.          Vector entText = new Vector();
  51.          entText.addElement("A");
  52.          entText.addElement("APPLET");
  53.          entText.addElement("B");
  54.          entText.addElement("BASEFONT");
  55.          entText.addElement("BIG");
  56.          entText.addElement("BR");
  57.          entText.addElement("CITE");
  58.          entText.addElement("CODE");
  59.          entText.addElement("DFN");
  60.          entText.addElement("EM");
  61.          entText.addElement("FONT");
  62.          entText.addElement("I");
  63.          entText.addElement("IMG");
  64.          entText.addElement("INPUT");
  65.          entText.addElement("KBD");
  66.          entText.addElement("MAP");
  67.          entText.addElement("SAMP");
  68.          entText.addElement("SCRIPT");
  69.          entText.addElement("SERVER");
  70.          entText.addElement("SELECT");
  71.          entText.addElement("SMALL");
  72.          entText.addElement("STRIKE");
  73.          entText.addElement("STRING");
  74.          entText.addElement("SUB");
  75.          entText.addElement("SUP");
  76.          entText.addElement("TEXTAREA");
  77.          entText.addElement("TT");
  78.          entText.addElement("U");
  79.          entText.addElement("VAR");
  80.          Vector entBlock = new Vector();
  81.          entBlock.addElement("AREA");
  82.          entBlock.addElement("BLOCKQUOTE");
  83.          entBlock.addElement("CENTER");
  84.          entBlock.addElement("DIR");
  85.          entBlock.addElement("MENU");
  86.          entBlock.addElement("DIV");
  87.          entBlock.addElement("DL");
  88.          entBlock.addElement("FORM");
  89.          entBlock.addElement("HR");
  90.          entBlock.addElement("ISINDEX");
  91.          entBlock.addElement("OL");
  92.          entBlock.addElement("UL");
  93.          entBlock.addElement("P");
  94.          entBlock.addElement("PRE");
  95.          entBlock.addElement("TABLE");
  96.          Vector entBody = new Vector();
  97.          entBody.addElement("ADDRESS");
  98.          entBody.addElement("H1");
  99.          entBody.addElement("H2");
  100.          entBody.addElement("H3");
  101.          entBody.addElement("H4");
  102.          entBody.addElement("H5");
  103.          entBody.addElement("H6");
  104.          appendVector(entBody, entText);
  105.          appendVector(entBody, entBlock);
  106.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  107.          tx.contentModel = entBody;
  108.          tx.textOK = true;
  109.          super.parseTable.put("DIV", tx);
  110.          super.parseTable.put("CENTER", tx);
  111.          super.parseTable.put("BLOCKQUOTE", tx);
  112.          super.parseTable.put("BQ", tx);
  113.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  114.          tx.contentModel = entBody;
  115.          tx.textOK = true;
  116.          super.parseTable.put("TH", tx);
  117.          super.parseTable.put("TD", tx);
  118.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  119.          tx.contentModel = entBody;
  120.          tx.contentModel.addElement("PALETTE_ITEM");
  121.          tx.textOK = true;
  122.          super.parseTable.put("BODY", tx);
  123.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  124.          tx.contentModel = entText;
  125.          tx.textOK = true;
  126.          super.parseTable.put("TT", tx);
  127.          super.parseTable.put("I", tx);
  128.          super.parseTable.put("B", tx);
  129.          super.parseTable.put("U", tx);
  130.          super.parseTable.put("STRIKE", tx);
  131.          super.parseTable.put("BIG", tx);
  132.          super.parseTable.put("SMALL", tx);
  133.          super.parseTable.put("SUB", tx);
  134.          super.parseTable.put("SUP", tx);
  135.          super.parseTable.put("EM", tx);
  136.          super.parseTable.put("STRONG", tx);
  137.          super.parseTable.put("DFN", tx);
  138.          super.parseTable.put("CODE", tx);
  139.          super.parseTable.put("SAMP", tx);
  140.          super.parseTable.put("KBD", tx);
  141.          super.parseTable.put("VAR", tx);
  142.          super.parseTable.put("CITE", tx);
  143.          super.parseTable.put("FONT", tx);
  144.          super.parseTable.put("DT", tx);
  145.          super.parseTable.put("CAPTION", tx);
  146.          tx = new SGMLParseTableEntry(this, TagNormalClass);
  147.          tx.contentEmpty = true;
  148.          super.parseTable.put("AREA", tx);
  149.          super.parseTable.put("BASEFONT", tx);
  150.          super.parseTable.put("BR", tx);
  151.          super.parseTable.put("HR", tx);
  152.          super.parseTable.put("ISINDEX", tx);
  153.          super.parseTable.put("LINK", tx);
  154.          super.parseTable.put("META", tx);
  155.          super.parseTable.put("BASE", tx);
  156.          tx = new SGMLParseTableEntry(this, TagNormalClass);
  157.          tx.contentEmpty = true;
  158.          super.parseTable.put("IMG", tx);
  159.          tx = new SGMLParseTableEntry(this, TagNormalClass);
  160.          tx.textOK = true;
  161.          super.parseTable.put("OPTION", tx);
  162.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  163.          tx.contentModel.addElement("P");
  164.          tx.textOK = true;
  165.          super.parseTable.put("ADDRESS", tx);
  166.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  167.          tx.contentModel.addElement("FRAMESET");
  168.          tx.contentModel.addElement("FRAME");
  169.          super.parseTable.put("FRAMESET", tx);
  170.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  171.          super.parseTable.put("FRAME", tx);
  172.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  173.          tx.contentModel = entText;
  174.          tx.textOK = true;
  175.          tx.exclude.addElement("A");
  176.          super.parseTable.put("A", tx);
  177.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  178.          tx.contentModel.addElement("AREA");
  179.          super.parseTable.put("MAP", tx);
  180.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  181.          tx.contentModel.addElement("PARAM");
  182.          appendVector(tx.contentModel, entText);
  183.          super.parseTable.put("APPLET", tx);
  184.          tx = new SGMLParseTableEntry(this, TagNormalClass);
  185.          tx.contentEmpty = true;
  186.          super.parseTable.put("PARAM", tx);
  187.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  188.          tx.contentModel = entText;
  189.          tx.textOK = true;
  190.          super.parseTable.put("P", tx);
  191.          super.parseTable.put("H1", tx);
  192.          super.parseTable.put("H2", tx);
  193.          super.parseTable.put("H3", tx);
  194.          super.parseTable.put("H4", tx);
  195.          super.parseTable.put("H5", tx);
  196.          super.parseTable.put("H6", tx);
  197.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  198.          tx.contentModel = entText;
  199.          tx.textOK = true;
  200.          tx.exclude.addElement("IMG");
  201.          tx.exclude.addElement("BIG");
  202.          tx.exclude.addElement("SMALL");
  203.          tx.exclude.addElement("SUB");
  204.          tx.exclude.addElement("SUP");
  205.          tx.exclude.addElement("FONT");
  206.          super.parseTable.put("PRE", tx);
  207.          tx = new SGMLParseTableEntry(this, Class.forName("netscape.palomar.htmllite.TagScript"));
  208.          tx.textOK = true;
  209.          super.parseTable.put("SCRIPT", tx);
  210.          super.parseTable.put("SERVER", tx);
  211.          super.parseTable.put("XMP", tx);
  212.          super.parseTable.put("PLAINTEXT", tx);
  213.          super.parseTable.put("STYLE", tx);
  214.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  215.          tx.contentModel.addElement("DT");
  216.          tx.contentModel.addElement("DD");
  217.          super.parseTable.put("DL", tx);
  218.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  219.          appendVector(tx.contentModel, entText);
  220.          appendVector(tx.contentModel, entBlock);
  221.          tx.textOK = true;
  222.          super.parseTable.put("DD", tx);
  223.          super.parseTable.put("LI", tx);
  224.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  225.          tx.contentModel.addElement("LI");
  226.          super.parseTable.put("UL", tx);
  227.          super.parseTable.put("OL", tx);
  228.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  229.          tx.contentModel.addElement("LI");
  230.          appendVector(tx.exclude, entBlock);
  231.          super.parseTable.put("MENU", tx);
  232.          super.parseTable.put("DIR", tx);
  233.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  234.          tx.textOK = true;
  235.          tx.contentModel = entBody;
  236.          tx.exclude.addElement("FORM");
  237.          tx.include.addElement("INPUT");
  238.          tx.include.addElement("TEXTAREA");
  239.          tx.include.addElement("SELECT");
  240.          super.parseTable.put("FORM", tx);
  241.          tx = new SGMLParseTableEntry(this, TagNormalClass);
  242.          tx.contentEmpty = true;
  243.          super.parseTable.put("INPUT", tx);
  244.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  245.          tx.textOK = true;
  246.          super.parseTable.put("TEXTAREA", tx);
  247.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  248.          tx.contentModel.addElement("OPTION");
  249.          super.parseTable.put("SELECT", tx);
  250.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  251.          tx.contentModel.addElement("CAPTION");
  252.          tx.contentModel.addElement("TR");
  253.          super.parseTable.put("TABLE", tx);
  254.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  255.          tx.contentModel.addElement("TH");
  256.          tx.contentModel.addElement("TD");
  257.          super.parseTable.put("TR", tx);
  258.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  259.          tx.contentModel.addElement("TITLE");
  260.          tx.contentModel.addElement("ISINDEX");
  261.          tx.contentModel.addElement("BASE");
  262.          tx.contentModel.addElement("SCRIPT");
  263.          tx.contentModel.addElement("SERVER");
  264.          tx.contentModel.addElement("STYLE");
  265.          tx.contentModel.addElement("META");
  266.          tx.contentModel.addElement("LINK");
  267.          super.parseTable.put("HEAD", tx);
  268.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  269.          tx.textOK = true;
  270.          super.parseTable.put("TITLE", tx);
  271.          tx = new SGMLParseTableEntry(this, TagStructureClass);
  272.          tx.contentModel.addElement("HEAD");
  273.          tx.contentModel.addElement("BODY");
  274.          tx.contentModel.addElement("PLAINTEXT");
  275.          super.parseTable.put("HTML", tx);
  276.  
  277.          for(int i = 0; i < 32; ++i) {
  278.             super.charEscape[i] = "&#" + i + ";";
  279.          }
  280.  
  281.          super.charEscape[9] = "" + '\t';
  282.          super.charEscape[10] = "" + '\n';
  283.  
  284.          for(int i = 32; i < 127; ++i) {
  285.             super.charEscape[i] = "" + (char)i;
  286.          }
  287.  
  288.          super.charEscape[96] = "`";
  289.  
  290.          for(int i = 127; i < 256; ++i) {
  291.             super.charEscape[i] = "&#" + i + ";";
  292.          }
  293.  
  294.          ((SGMLParser)this).setChar("quot", 34);
  295.          ((SGMLParser)this).setChar("amp", 38);
  296.          ((SGMLParser)this).setChar("lt", 60);
  297.          ((SGMLParser)this).setChar("gt", 62);
  298.          ((SGMLParser)this).setChar("nbsp", 160);
  299.          ((SGMLParser)this).setChar("iexcl", 161);
  300.          ((SGMLParser)this).setChar("cent", 162);
  301.          ((SGMLParser)this).setChar("pound", 163);
  302.          ((SGMLParser)this).setChar("curren", 164);
  303.          ((SGMLParser)this).setChar("yen", 165);
  304.          ((SGMLParser)this).setChar("brvbar", 166);
  305.          ((SGMLParser)this).setChar("sect", 167);
  306.          ((SGMLParser)this).setChar("uml", 168);
  307.          ((SGMLParser)this).setChar("copy", 169);
  308.          ((SGMLParser)this).setChar("ordf", 170);
  309.          ((SGMLParser)this).setChar("laquo", 171);
  310.          ((SGMLParser)this).setChar("not", 172);
  311.          ((SGMLParser)this).setChar("shy", 173);
  312.          ((SGMLParser)this).setChar("reg", 174);
  313.          ((SGMLParser)this).setChar("macr", 175);
  314.          ((SGMLParser)this).setChar("deg", 176);
  315.          ((SGMLParser)this).setChar("plusmn", 177);
  316.          ((SGMLParser)this).setChar("sup2", 178);
  317.          ((SGMLParser)this).setChar("sup3", 179);
  318.          ((SGMLParser)this).setChar("acute", 180);
  319.          ((SGMLParser)this).setChar("micro", 181);
  320.          ((SGMLParser)this).setChar("para", 182);
  321.          ((SGMLParser)this).setChar("middot", 183);
  322.          ((SGMLParser)this).setChar("cedil", 184);
  323.          ((SGMLParser)this).setChar("sup1", 185);
  324.          ((SGMLParser)this).setChar("ordm", 186);
  325.          ((SGMLParser)this).setChar("raquo", 187);
  326.          ((SGMLParser)this).setChar("frac14", 188);
  327.          ((SGMLParser)this).setChar("frac12", 189);
  328.          ((SGMLParser)this).setChar("frac34", 190);
  329.          ((SGMLParser)this).setChar("iquest", 191);
  330.          ((SGMLParser)this).setChar("Agrave", 192);
  331.          ((SGMLParser)this).setChar("Aacute", 193);
  332.          ((SGMLParser)this).setChar("Acirc", 194);
  333.          ((SGMLParser)this).setChar("Atilde", 195);
  334.          ((SGMLParser)this).setChar("Auml", 196);
  335.          ((SGMLParser)this).setChar("Aring", 197);
  336.          ((SGMLParser)this).setChar("AElig", 198);
  337.          ((SGMLParser)this).setChar("Ccedil", 199);
  338.          ((SGMLParser)this).setChar("Egrave", 200);
  339.          ((SGMLParser)this).setChar("Eacute", 201);
  340.          ((SGMLParser)this).setChar("Ecirc", 202);
  341.          ((SGMLParser)this).setChar("Euml", 203);
  342.          ((SGMLParser)this).setChar("Igrave", 204);
  343.          ((SGMLParser)this).setChar("Iacute", 205);
  344.          ((SGMLParser)this).setChar("Icirc", 206);
  345.          ((SGMLParser)this).setChar("Iuml", 207);
  346.          ((SGMLParser)this).setChar("ETH", 208);
  347.          ((SGMLParser)this).setChar("Ntilde", 209);
  348.          ((SGMLParser)this).setChar("Ograve", 210);
  349.          ((SGMLParser)this).setChar("Oacute", 211);
  350.          ((SGMLParser)this).setChar("Ocirc", 212);
  351.          ((SGMLParser)this).setChar("Otilde", 213);
  352.          ((SGMLParser)this).setChar("Ouml", 214);
  353.          ((SGMLParser)this).setChar("times", 215);
  354.          ((SGMLParser)this).setChar("Oslash", 216);
  355.          ((SGMLParser)this).setChar("Ugrave", 217);
  356.          ((SGMLParser)this).setChar("Uacute", 218);
  357.          ((SGMLParser)this).setChar("Ucirc", 219);
  358.          ((SGMLParser)this).setChar("Uuml", 220);
  359.          ((SGMLParser)this).setChar("Yacute", 221);
  360.          ((SGMLParser)this).setChar("THORN", 222);
  361.          ((SGMLParser)this).setChar("szlig", 223);
  362.          ((SGMLParser)this).setChar("agrave", 224);
  363.          ((SGMLParser)this).setChar("aacute", 225);
  364.          ((SGMLParser)this).setChar("acirc", 226);
  365.          ((SGMLParser)this).setChar("atilde", 227);
  366.          ((SGMLParser)this).setChar("auml", 228);
  367.          ((SGMLParser)this).setChar("aring", 229);
  368.          ((SGMLParser)this).setChar("aelig", 230);
  369.          ((SGMLParser)this).setChar("ccedil", 231);
  370.          ((SGMLParser)this).setChar("egrave", 232);
  371.          ((SGMLParser)this).setChar("eacute", 233);
  372.          ((SGMLParser)this).setChar("ecirc", 234);
  373.          ((SGMLParser)this).setChar("euml", 235);
  374.          ((SGMLParser)this).setChar("igrave", 236);
  375.          ((SGMLParser)this).setChar("iacute", 237);
  376.          ((SGMLParser)this).setChar("icirc", 238);
  377.          ((SGMLParser)this).setChar("iuml", 239);
  378.          ((SGMLParser)this).setChar("eth", 240);
  379.          ((SGMLParser)this).setChar("ntilde", 241);
  380.          ((SGMLParser)this).setChar("ograve", 242);
  381.          ((SGMLParser)this).setChar("oacute", 243);
  382.          ((SGMLParser)this).setChar("ocirc", 244);
  383.          ((SGMLParser)this).setChar("otilde", 245);
  384.          ((SGMLParser)this).setChar("ouml", 246);
  385.          ((SGMLParser)this).setChar("divide", 247);
  386.          ((SGMLParser)this).setChar("oslash", 248);
  387.          ((SGMLParser)this).setChar("ugrave", 249);
  388.          ((SGMLParser)this).setChar("uacute", 250);
  389.          ((SGMLParser)this).setChar("ucirc", 251);
  390.          ((SGMLParser)this).setChar("uuml", 252);
  391.          ((SGMLParser)this).setChar("yacute", 253);
  392.          ((SGMLParser)this).setChar("thorn", 254);
  393.          ((SGMLParser)this).setChar("yuml", 255);
  394.          super.paramSets.clear();
  395.          String[] a1 = new String[]{"0NAME", "0HREF", "0TARGET", "0ONCLICK", "0ONMOUSEOVER", "0ONMOUSEOUT"};
  396.          super.paramSets.put("A", a1);
  397.          String[] a2 = new String[]{"0NAME", "0CODE", "0CODEBASE", "1ARCHIVE", "0MAYSCRIPT", "0ALIGN", "0ALT", "0HEIGHT", "0WIDTH", "0HSPACE", "0VSPACE"};
  398.          super.paramSets.put("APPLET", a2);
  399.          String[] a3 = new String[]{"0NAME", "0HREF", "0NOHREF", "0COORDS", "0TARGET", "0SHAPE", "0ONMOUSEOVER", "0ONMOUSEOUT"};
  400.          super.paramSets.put("AREA", a3);
  401.          String[] a4 = new String[]{"0HREF", "0TARGET"};
  402.          super.paramSets.put("BASE", a4);
  403.          String[] a5 = new String[]{"0SIZE"};
  404.          super.paramSets.put("BASEFONT", a5);
  405.          String[] a7 = new String[]{"0CLEAR"};
  406.          super.paramSets.put("BR", a7);
  407.          String[] a8 = new String[]{"0ALIGN"};
  408.          super.paramSets.put("CAPTION", a8);
  409.          String[] a9 = new String[]{"0ALIGN"};
  410.          super.paramSets.put("DIV", a9);
  411.          String[] a10 = new String[]{"0COMPACT"};
  412.          super.paramSets.put("DL", a10);
  413.          String[] a11 = new String[]{"1SRC", "0TYPE", "0HEIGHT", "0WIDTH", "0ALIGN", "0HIDDEN", "0PALLETTE", "0PLUGINSPAGE", "0UNITS"};
  414.          super.paramSets.put("EMBED", a11);
  415.          String[] a12 = new String[]{"0COLOR", "0FACE", "0SIZE"};
  416.          super.paramSets.put("FONT", a12);
  417.          String[] a13 = new String[]{"0NAME", "0ACTION", "0ENCTYPE", "0METHOD", "0TARGET", "0ONSUBMIT", "0ONRESET"};
  418.          super.paramSets.put("FORM", a13);
  419.          String[] a14 = new String[]{"0NAME", "1SRC", "0FRAMEBORDER", "0BORDERCOLOR", "0MARGINHEIGHT", "OMARGINWIDTH", "0NORESIZE", "0SCROLLING"};
  420.          super.paramSets.put("FRAME", a14);
  421.          String[] a15 = new String[]{"0ROWS", "OCOLS", "0BORDER", "0BORDERCOLOR", "0FRAMEBORDER", "0ONFOCUS", "0ONBLUR", "0ONLOAD", "0ONUNLOAD"};
  422.          super.paramSets.put("FRAMESET", a15);
  423.          String[] a16 = new String[]{"0ALIGN"};
  424.          super.paramSets.put("H1", a16);
  425.          super.paramSets.put("H2", a16);
  426.          super.paramSets.put("H3", a16);
  427.          super.paramSets.put("H4", a16);
  428.          super.paramSets.put("H5", a16);
  429.          super.paramSets.put("H6", a16);
  430.          String[] a17 = new String[]{"0ALIGN", "0NOSHADE", "0SIZE", "0WIDTH"};
  431.          super.paramSets.put("HR", a17);
  432.          String[] a20 = new String[]{"0PROMPT"};
  433.          super.paramSets.put("ISINDEX", a20);
  434.          String[] a21 = new String[]{"0NAME", "0CHALLENGE"};
  435.          super.paramSets.put("KEYGEN", a21);
  436.          String[] a21a = new String[]{"ONAME", "OLEFT", "0TOP", "0Z-INDEX", "0ABOVE", "0BELOW", "OWIDTH", "0CLIP", "0VISIBILITY", "0BGCOLOR", "1BACKGROUND"};
  437.          super.paramSets.put("LAYER", a21a);
  438.          super.paramSets.put("ILAYER", a21a);
  439.          String[] a22 = new String[]{"0TYPE", "0VALUE"};
  440.          super.paramSets.put("LI", a22);
  441.          String[] a23 = new String[]{"0NAME"};
  442.          super.paramSets.put("MAP", a23);
  443.          String[] a24 = new String[]{"0NAME", "0CONTENT", "0HTTP-EQUIV"};
  444.          super.paramSets.put("META", a24);
  445.          String[] a25 = new String[]{"0COLS", "0GUTTER", "0WIDTH"};
  446.          super.paramSets.put("MULTICOL", a25);
  447.          String[] a251 = new String[]{"0TYPE", "0START"};
  448.          super.paramSets.put("OL", a251);
  449.          String[] a26 = new String[]{"0VALUE", "0SELECTED"};
  450.          super.paramSets.put("OPTION", a26);
  451.          String[] a27 = new String[]{"0ALIGN"};
  452.          super.paramSets.put("P", a27);
  453.          String[] a28 = new String[]{"0NAME", "0VALUE"};
  454.          super.paramSets.put("PARAM", a28);
  455.          String[] a29 = new String[]{"0LANGUAGE", "1SRC", "0PURPOSE", "0ID", "0CLASS"};
  456.          super.paramSets.put("SCRIPT", a29);
  457.          String[] a31 = new String[]{"0PURPOSE", "0ID", "0CLASS"};
  458.          super.paramSets.put("SERVER", a31);
  459.          String[] a32 = new String[]{"0ALIGN", "0HEIGHT", "0SIZE", "0TYPE", "0WIDTH"};
  460.          super.paramSets.put("SPACER", a32);
  461.          String[] a33 = new String[]{"0ALIGN", "0BGCOLOR", "0BORDER", "0CELLPADDING", "0CELLSPACING", "0HEIGHT", "0WIDTH", "0HSPACE", "0VSPACE"};
  462.          super.paramSets.put("TABLE", a33);
  463.          String[] a34 = new String[]{"0ALIGN", "0BGCOLOR", "0COLSPAN", "0ROWSPAN", "0VALIGN", "0NOWRAP"};
  464.          super.paramSets.put("TD", a34);
  465.          super.paramSets.put("TH", a34);
  466.          String[] a36 = new String[]{"0ALIGN", "0BGCOLOR", "0VALIGN"};
  467.          super.paramSets.put("TR", a36);
  468.          String[] a37 = new String[]{"0TYPE"};
  469.          super.paramSets.put("UL", a37);
  470.          String[] a38 = new String[]{"0NAME", "0DISPLAYNAME", "0ISEXPERT", "0ISHIDDEN", "0SHORTDESCRIPTION", "0ADDLISTENERMETHOD", "0LISTENERMETHODS", "0LISTENERTYPE", "0REMOVELISTENERMETHOD", "0ISDEFAULT", "0ISUNICAST"};
  471.          super.paramSets.put("JSB_EVENT", a38);
  472.          String[] a39 = new String[]{"0NAME", "0DISPLAYNAME", "0ISEXPERT", "0ISHIDDEN", "0SHORTDESCRIPTION", "0TYPE", "0EXCEPTIONS"};
  473.          super.paramSets.put("JSB_METHOD", a39);
  474.          String[] a40 = new String[]{"0NAME", "0DISPLAYNAME", "0ISEXPERT", "0ISHIDDEN", "0SHORTDESCRIPTION", "0TYPE"};
  475.          super.paramSets.put("JSB_PARAMETER", a40);
  476.          String[] a41 = new String[]{"0NAME", "0DISPLAYNAME", "0ISEXPERT", "0ISHIDDEN", "0SHORTDESCRIPTION", "0PROPTYPE", "0READMETHOD", "0WRITEMETHOD", "0PROPERTYEDITOR", "0TYPE", "0ISRUNTIME"};
  477.          super.paramSets.put("JSB_PROPERTY", a41);
  478.          String[] a42 = new String[]{"0NAME", "0DISPLAYNAME", "0ISEXPERT", "0ISHIDDEN", "0SHORTDESCRIPTION", "0CLASS", "0CUSTOMIZERCLASS"};
  479.          super.paramSets.put("JSB_DESCRIPTOR", a42);
  480.          String[] a43 = new String[]{"0NAME", "0DISPLAYNAME", "0ISEXPERT", "0ISHIDDEN", "0SHORTDESCRIPTION"};
  481.          super.paramSets.put("JSB_LISTENER", a43);
  482.          super.paramSets.put("JSB", a43);
  483.       } catch (Exception e) {
  484.          CascadedException pe = new CascadedException(1, e);
  485.          throw pe;
  486.       }
  487.    }
  488. }
  489.