code: public static nsxmlnamespace[] get(nitro_service service, String prefix[]) throws Exception{
  		if (prefix !=null && prefix.length>0) {
  			nsxmlnamespace response[] = new nsxmlnamespace[prefix.length];
  			nsxmlnamespace obj[] = new nsxmlnamespace[prefix.length];
  			for (int i=0;i<prefix.length;i++) {
  				obj[i] = new nsxmlnamespace();
  				obj[i].set_prefix(prefix[i]);
  				response[i] = (nsxmlnamespace) obj[i].get_resource(service);
  			}
  			return response;
  		}
  		return null;
  	}
docs: Use this API to fetch nsxmlnamespace resources of given names .