if (source.getCreatablePropertyTypes() != null) {
CreatablePropertyTypes creatablePropertyTypes = source.getCreatablePropertyTypes();
writer.writeStartElement(PREFIX_CMIS, TAG_CAP_CREATABLE_PROPERTY_TYPES, NAMESPACE_CMIS);
if (creatablePropertyTypes.canCreate() != null) {
for (PropertyType pt : creatablePropertyTypes.canCreate()) {
XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_CREATABLE_PROPERTY_TYPES_CANCREATE,
pt);
}
}