code: public void setAttributes( final Collection<String> attributes )
      {
          this.attributes = attributes == null ? null : Collections.unmodifiableSet( new HashSet<String>( attributes ) );
      }
docs: Set the filter to a list of attributes.
  
  @param attributes a collection of attribute names