styleTable.put(name, newStyle);
styles.addAttribute(name, newStyle);
  public Style addStyle(String name, Style parent)  {    Style newStyle = new NamedStyle(name, parent);    if (name != null)      styleTable.put(name, newStyle);    return newStyle;  }