code: public Object convertJavaBeanToJavaBean(Document doc, ProvFactory pFactory) {
          BeanTraversal bt=new BeanTraversal(pFactory, pFactory);
          Document o=bt.doAction(doc);
          return o;
      }
docs: A conversion function that copies a Java Bean deeply.