code: private void writeCustomFields() throws IOException
     {
        m_writer.writeStartList("custom_fields");
        for (CustomField field : m_projectFile.getCustomFields())
        {
           writeCustomField(field);
        }
        m_writer.writeEndList();
     }
docs: Write a list of custom field attributes.