public static List < String > extractAttributeEmptyCheck ( SearchCursor cursor , String attributeType ) { List < String > result = new LinkedList < String > ( ) ; try { while ( cursor . next ( ) ) { Entry entry = cursor . getEntry ( ) ; result . add ( extractAttributeEmptyCheck ( entry , attributeType ) ) ; } } catch ( Exception e ) { throw new LdapRuntimeException ( e ) ; } return result ; }
Returns the value of the first occurence of attributeType from each entry in the cursor .