private void generateFixedPartitionAttributes(List<FixedPartitionAttributes> allStaticAttrs)
      throws SAXException {
    for (FixedPartitionAttributes attr : allStaticAttrs) {
      AttributesImpl sAtts = new AttributesImpl();
      sAtts.addAttribute("", "", PARTITION_NAME, "", attr.getPartitionName());
      sAtts.addAttribute("", "", IS_PRIMARY, "", String.valueOf(attr.isPrimary()));
      sAtts.addAttribute("", "", NUM_BUCKETS, "", String.valueOf(attr.getNumBuckets()));
      handler.startElement("", CacheXml.FIXED_PARTITION_ATTRIBUTES,
          CacheXml.FIXED_PARTITION_ATTRIBUTES, sAtts);
      handler.endElement("", CacheXml.FIXED_PARTITION_ATTRIBUTES,
          CacheXml.FIXED_PARTITION_ATTRIBUTES);
    }
  }
Generate XML for FixedPartitionAttribute element in PartitionedRegion Attributes
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlGenerator.java