node     = addElement(parent, name, beaninst.getClass().getName(), false, false);
node     = addElement(parent, name, beaninst.getClass().getName(), false);
  public Element writeBeanInstance(Element parent, Object o, String name)      throws Exception {        Element         node;    BeanInstance    beaninst;    // for debugging only    if (DEBUG)       trace(new Throwable(), name);        beaninst = (BeanInstance) o;    node     = addElement(parent, name, beaninst.getClass().getName(), false, false);    writeIntToXML(node, m_BeanInstances.indexOf(beaninst), VAL_ID);    writeIntToXML(node, beaninst.getX() + beaninst.getWidth()  / 2, VAL_X);   // x is thought to be in the center?    writeIntToXML(node, beaninst.getY() + beaninst.getHeight() / 2, VAL_Y);   // y is thought to be in the center?    invokeWriteToXML(node, beaninst.getBean(), VAL_BEAN);        return node;  }