code: public List<Attribute> setupEnvironment(Map<URI, AttributeValue> e) {
  
          if (e == null || e.size() == 0) {
              return Collections.emptyList();
          }
  
          List<Attribute> environment = new ArrayList<Attribute>(e.size());
          for (URI uri : e.keySet()) {
              environment.add(new SingletonAttribute(uri, null, null, e.get(uri)));
          }
  
          return environment;
      }
docs: Creates the Environment attributes.
  
  @return a Set of Attributes for inclusion in a Request