code: public ConnectorDescriptor removeAllNamespaces()
     {
        List<String> nameSpaceKeys = new ArrayList<String>();
        java.util.Map<String, String> attributes = model.getAttributes();
        for (Entry<String, String> e : attributes.entrySet())
        {
           final String name = e.getKey();
           final String value = e.getValue();
           if (value != null && value.startsWith("http://")) 
           {
              nameSpaceKeys.add(name);
           }
        }
        for (String name: nameSpaceKeys)
        {
           model.removeAttribute(name);
        }
        return this;
     }
docs: Removes all existing namespaces.
  @return the current instance of <code>ConnectorDescriptor</code>