public static SearchScope valueOf(final int intValue){
  SearchScope result=null;
  if (0 <= intValue && intValue < ELEMENTS.length) {
    result=ELEMENTS[intValue];
  }
  if (result == null) {
    result=new SearchScope(intValue,"unknown(" + intValue + ")",Enum.UNKNOWN);
  }
  return result;
}

public static SearchScope valueOf ( final int intValue ) { SearchScope result = null ; if ( 0 <= intValue && intValue < ELEMENTS . length ) { result = ELEMENTS [ intValue ] ; } if ( result == null ) { result = new SearchScope ( intValue , "unknown(" + intValue + ")" , Enum . UNKNOWN ) ; } return result ; }
returns the search scope having the specified integer value as defined in rfc 4511 section 4 . 5 . 1 . 2 .
