< prev index next >

src/java.naming/share/classes/javax/naming/directory/SearchControls.java

Print this page

        

*** 52,62 **** * of elements in the NamingEnumeration are relative to the * target context--in this case, the target context is the named object. * It contains zero element if the named object does not satisfy * the search filter specified in search(). * <p> ! * The value of this constant is <tt>0</tt>. */ public final static int OBJECT_SCOPE = 0; /** * Search one level of the named context. --- 52,62 ---- * of elements in the NamingEnumeration are relative to the * target context--in this case, the target context is the named object. * It contains zero element if the named object does not satisfy * the search filter specified in search(). * <p> ! * The value of this constant is {@code 0}. */ public final static int OBJECT_SCOPE = 0; /** * Search one level of the named context.
*** 66,76 **** * objects in the named context that satisfy * the search filter specified in search(). * The names of elements in the NamingEnumeration are atomic names * relative to the named context. * <p> ! * The value of this constant is <tt>1</tt>. */ public final static int ONELEVEL_SCOPE = 1; /** * Search the entire subtree rooted at the named object. *<p> --- 66,76 ---- * objects in the named context that satisfy * the search filter specified in search(). * The names of elements in the NamingEnumeration are atomic names * relative to the named context. * <p> ! * The value of this constant is {@code 1}. */ public final static int ONELEVEL_SCOPE = 1; /** * Search the entire subtree rooted at the named object. *<p>
*** 88,105 **** * relative to the named context or is a URL string. * If the named context satisfies the search filter, it is * included in the enumeration with the empty string as * its name. * <p> ! * The value of this constant is <tt>2</tt>. */ public final static int SUBTREE_SCOPE = 2; /** * Contains the scope with which to apply the search. One of ! * <tt>ONELEVEL_SCOPE</tt>, <tt>OBJECT_SCOPE</tt>, or ! * <tt>SUBTREE_SCOPE</tt>. * @serial */ private int searchScope; /** --- 88,105 ---- * relative to the named context or is a URL string. * If the named context satisfies the search filter, it is * included in the enumeration with the empty string as * its name. * <p> ! * The value of this constant is {@code 2}. */ public final static int SUBTREE_SCOPE = 2; /** * Contains the scope with which to apply the search. One of ! * {@code ONELEVEL_SCOPE}, {@code OBJECT_SCOPE}, or ! * {@code SUBTREE_SCOPE}. * @serial */ private int searchScope; /**
*** 115,125 **** * @serial */ private boolean derefLink; /** ! * Indicates whether object is returned in <tt>SearchResult</tt>. * @serial */ private boolean returnObj; /** --- 115,125 ---- * @serial */ private boolean derefLink; /** ! * Indicates whether object is returned in {@code SearchResult}. * @serial */ private boolean returnObj; /**
*** 128,138 **** */ private long countLimit; /** * Contains the list of attributes to be returned in ! * <tt>SearchResult</tt> for each matching entry of search. <tt>null</tt> * indicates that all attributes are to be returned. * @serial */ private String[] attributesToReturn; --- 128,138 ---- */ private long countLimit; /** * Contains the list of attributes to be returned in ! * {@code SearchResult} for each matching entry of search. {@code null} * indicates that all attributes are to be returned. * @serial */ private String[] attributesToReturn;
< prev index next >