m_CurrentNode = parent;
  public Element writeMetaBean(Element parent, Object o, String name)      throws Exception {        Element         node;    MetaBean        meta;    // for debugging only    if (DEBUG)       trace(new Throwable(), name);        meta = (MetaBean) o;    node = writeToXML(parent, o, name);    invokeWriteToXML(node, getIDsForBeanInstances(meta.getBeansInInputs()), VAL_INPUTSID);    invokeWriteToXML(node, getIDsForBeanInstances(meta.getBeansInOutputs()), VAL_OUTPUTSID);    invokeWriteToXML(node, meta.getBeansInSubFlow(), VAL_SUBFLOW);        return node;  }