node = addElement(parent, name, dim.getClass().getName(), false, false);
node = addElement(parent, name, dim.getClass().getName(), false);
  public Element writeDimension(Element parent, Object o, String name)      throws Exception {        Element     node;    Dimension   dim;    // for debugging only    if (DEBUG)       trace(new Throwable(), name);        dim = (Dimension) o;    node = addElement(parent, name, dim.getClass().getName(), false, false);    writeDoubleToXML(node, dim.getWidth(), VAL_WIDTH);    writeDoubleToXML(node, dim.getHeight(), VAL_HEIGHT);        return node;  }