addLocator(loc) ;
}
public void removeLocatorURL()
{
Locator locURL = null;
Iterator<Locator> it = locators();
while (it.hasNext())
{
Locator loc = it.next();
if (loc.getName().equals("LocatorURL")) locURL = loc;
}
// remove() needs to be called outside the iterator
if (locURL != null)
{
if (log.isDebugEnabled()) log.debug("Removing Locator: {}", locURL);