code: public TagAttribute[] getAll(String namespace)
      {
          int idx = 0;
          if (namespace == null)
          {
              idx = Arrays.binarySearch(_namespaces, "");
          }
          else
          {
              idx = Arrays.binarySearch(_namespaces, namespace);
          }
          
          if (idx >= 0)
          {
              return _nsattrs.get(idx);
          }
          
          return EMPTY;
      }
docs: Get all TagAttributes for the passed namespace
  
  @param namespace
  namespace to search
  @return a non-null array of TagAttributes