private void generateLocator(DistributionLocatorConfig config) throws SAXException {
  AttributesImpl atts=new AttributesImpl();
  atts.addAttribute("","",PORT,"",String.valueOf(config.getPort()));
  handler.startElement("",LOCATOR,LOCATOR,atts);
  generateEntityConfig(config);
  handler.endElement("",LOCATOR,LOCATOR);
}

private void generateLocator ( DistributionLocatorConfig config ) throws SAXException { AttributesImpl atts = new AttributesImpl ( ) ; atts . addAttribute ( "" , "" , PORT , "" , String . valueOf ( config . getPort ( ) ) ) ; handler . startElement ( "" , LOCATOR , LOCATOR , atts ) ; generateEntityConfig ( config ) ; handler . endElement ( "" , LOCATOR , LOCATOR ) ; }
generates xml for a locator
