tagToAction.put(HTML.Tag.FORM, blockAction);
tagToAction.put(HTML.Tag.FORM, new FormTagAction());
    void initTags()    {      tagToAction = new HashMap(72);      CharacterAction characterAction = new CharacterAction();      HiddenAction hiddenAction = new HiddenAction();      AreaAction areaAction = new AreaAction();      BaseAction baseAction = new BaseAction();      BlockAction blockAction = new BlockAction();      SpecialAction specialAction = new SpecialAction();      ParagraphAction paragraphAction = new ParagraphAction();      HeadAction headAction = new HeadAction();      FormAction formAction = new FormAction();      IsindexAction isindexAction = new IsindexAction();      LinkAction linkAction = new LinkAction();      MapAction mapAction = new MapAction();      PreAction preAction = new PreAction();      MetaAction metaAction = new MetaAction();      StyleAction styleAction = new StyleAction();      TitleAction titleAction = new TitleAction();            ConvertAction convertAction = new ConvertAction();      tagToAction.put(HTML.Tag.A, characterAction);      tagToAction.put(HTML.Tag.ADDRESS, characterAction);      tagToAction.put(HTML.Tag.APPLET, hiddenAction);      tagToAction.put(HTML.Tag.AREA, areaAction);      tagToAction.put(HTML.Tag.B, characterAction);      tagToAction.put(HTML.Tag.BASE, baseAction);      tagToAction.put(HTML.Tag.BASEFONT, characterAction);      tagToAction.put(HTML.Tag.BIG, characterAction);      tagToAction.put(HTML.Tag.BLOCKQUOTE, blockAction);      tagToAction.put(HTML.Tag.BODY, blockAction);      tagToAction.put(HTML.Tag.BR, specialAction);      tagToAction.put(HTML.Tag.CAPTION, blockAction);      tagToAction.put(HTML.Tag.CENTER, blockAction);      tagToAction.put(HTML.Tag.CITE, characterAction);      tagToAction.put(HTML.Tag.CODE, characterAction);      tagToAction.put(HTML.Tag.DD, blockAction);      tagToAction.put(HTML.Tag.DFN, characterAction);      tagToAction.put(HTML.Tag.DIR, blockAction);      tagToAction.put(HTML.Tag.DIV, blockAction);      tagToAction.put(HTML.Tag.DL, blockAction);      tagToAction.put(HTML.Tag.DT, paragraphAction);      tagToAction.put(HTML.Tag.EM, characterAction);      tagToAction.put(HTML.Tag.FONT, convertAction);      tagToAction.put(HTML.Tag.FORM, blockAction);      tagToAction.put(HTML.Tag.FRAME, specialAction);      tagToAction.put(HTML.Tag.FRAMESET, blockAction);      tagToAction.put(HTML.Tag.H1, paragraphAction);      tagToAction.put(HTML.Tag.H2, paragraphAction);      tagToAction.put(HTML.Tag.H3, paragraphAction);      tagToAction.put(HTML.Tag.H4, paragraphAction);      tagToAction.put(HTML.Tag.H5, paragraphAction);      tagToAction.put(HTML.Tag.H6, paragraphAction);      tagToAction.put(HTML.Tag.HEAD, headAction);      tagToAction.put(HTML.Tag.HR, specialAction);      tagToAction.put(HTML.Tag.HTML, blockAction);      tagToAction.put(HTML.Tag.I, characterAction);      tagToAction.put(HTML.Tag.IMG, specialAction);      tagToAction.put(HTML.Tag.INPUT, formAction);      tagToAction.put(HTML.Tag.ISINDEX, isindexAction);      tagToAction.put(HTML.Tag.KBD, characterAction);      tagToAction.put(HTML.Tag.LI, blockAction);      tagToAction.put(HTML.Tag.LINK, linkAction);      tagToAction.put(HTML.Tag.MAP, mapAction);      tagToAction.put(HTML.Tag.MENU, blockAction);      tagToAction.put(HTML.Tag.META, metaAction);      tagToAction.put(HTML.Tag.NOFRAMES, blockAction);      tagToAction.put(HTML.Tag.OBJECT, specialAction);      tagToAction.put(HTML.Tag.OL, blockAction);      tagToAction.put(HTML.Tag.OPTION, formAction);      tagToAction.put(HTML.Tag.P, paragraphAction);      tagToAction.put(HTML.Tag.PARAM, hiddenAction);      tagToAction.put(HTML.Tag.PRE, preAction);      tagToAction.put(HTML.Tag.SAMP, characterAction);      tagToAction.put(HTML.Tag.SCRIPT, hiddenAction);      tagToAction.put(HTML.Tag.SELECT, formAction);      tagToAction.put(HTML.Tag.SMALL, characterAction);      tagToAction.put(HTML.Tag.STRIKE, characterAction);      tagToAction.put(HTML.Tag.S, characterAction);            tagToAction.put(HTML.Tag.STRONG, characterAction);      tagToAction.put(HTML.Tag.STYLE, styleAction);      tagToAction.put(HTML.Tag.SUB, characterAction);      tagToAction.put(HTML.Tag.SUP, characterAction);      tagToAction.put(HTML.Tag.TABLE, blockAction);      tagToAction.put(HTML.Tag.TD, blockAction);      tagToAction.put(HTML.Tag.TEXTAREA, formAction);      tagToAction.put(HTML.Tag.TH, blockAction);      tagToAction.put(HTML.Tag.TITLE, titleAction);      tagToAction.put(HTML.Tag.TR, blockAction);      tagToAction.put(HTML.Tag.TT, characterAction);      tagToAction.put(HTML.Tag.U, characterAction);      tagToAction.put(HTML.Tag.UL, blockAction);      tagToAction.put(HTML.Tag.VAR, characterAction);    }