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