private void generateFixedPartitionAttributes(String kind,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("",kind,kind,sAtts);
    handler.endElement("",kind,kind);
  }
}

private void generateFixedPartitionAttributes ( String kind , 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 ( "" , kind , kind , sAtts ) ; handler . endElement ( "" , kind , kind ) ; } }
generate xml for fixedpartitionattribute element in partitionedregion attributes
