private void generate(Region.Entry entry) throws SAXException {
  if ((entry == null)) {
    return;
  }
  handler.startElement("",ENTRY,ENTRY,EMPTY);
  handler.startElement("",KEY,KEY,EMPTY);
  generate(entry.getKey());
  handler.endElement("",KEY,KEY);
  handler.startElement("",VALUE,VALUE,EMPTY);
  generate(entry.getValue());
  handler.endElement("",VALUE,VALUE);
  handler.endElement("",ENTRY,ENTRY);
}

private void generate ( Region . Entry entry ) throws SAXException { if ( ( entry == null ) ) { return ; } handler . startElement ( "" , ENTRY , ENTRY , EMPTY ) ; handler . startElement ( "" , KEY , KEY , EMPTY ) ; generate ( entry . getKey ( ) ) ; handler . endElement ( "" , KEY , KEY ) ; handler . startElement ( "" , VALUE , VALUE , EMPTY ) ; generate ( entry . getValue ( ) ) ; handler . endElement ( "" , VALUE , VALUE ) ; handler . endElement ( "" , ENTRY , ENTRY ) ; }
generates xml for a region entry
