for (int i = 0; i < selector.length; i++) { CSSStyle style = (CSSStyle) css.get(selector[i]); if (style == null) { style = new CSSStyle(); css.put(selector[i], style); }
    public void declaration(String property, String value)    {      for (int i = 0; i < selector.length; i++)        {          CSSStyle style = (CSSStyle) css.get(selector[i]);          if (style == null)            {              style = new CSSStyle();              css.put(selector[i], style);            }          CSS.Attribute cssAtt = CSS.getAttribute(property);          Object val = CSS.getValue(cssAtt, value);          if (cssAtt != null)            style.addAttribute(cssAtt, val);          // else  // For debugging only.          //   System.err.println("no mapping for: " + property);        }    }