code: private void writeResources()
     {
        Resources resources = m_factory.createResources();
        m_plannerProject.setResources(resources);
        List<net.sf.mpxj.planner.schema.Resource> resourceList = resources.getResource();
        for (Resource mpxjResource : m_projectFile.getResources())
        {
           net.sf.mpxj.planner.schema.Resource plannerResource = m_factory.createResource();
           resourceList.add(plannerResource);
           writeResource(mpxjResource, plannerResource);
        }
     }
docs: This method writes resource data to a Planner file.