public AttributeFilter(final Collection<String> attributeDescriptions,final Schema schema){
  if (attributeDescriptions == null || attributeDescriptions.isEmpty()) {
    includeAllUserAttributes=true;
  }
 else {
    for (    final String attribute : attributeDescriptions) {
      includeAttribute(attribute,schema);
    }
  }
}

public AttributeFilter ( final Collection < String > attributeDescriptions , final Schema schema ) { if ( attributeDescriptions == null || attributeDescriptions . isEmpty ( ) ) { includeAllUserAttributes = true ; } else { for ( final String attribute : attributeDescriptions ) { includeAttribute ( attribute , schema ) ; } } }
creates a new attribute filter which will include the attributes identified by the provided search request attribute list . attributes will be decoded using the provided schema . see the class description for details regarding the types of supported attribute description .
