All Packages Class Hierarchy This Package Previous Next Index
Class java.naming.directory.SearchResult
java.lang.Object
|
+----java.naming.NameClassPair
|
+----java.naming.Binding
|
+----java.naming.directory.SearchResult
- public class SearchResult
- extends Binding
A SearchResult is an item in the SearchEnumeration, which is the
result of the DSContext.search() operations.
-
attrs
-
-
SearchResult(String, Object, AttributeSet)
- Constructs a search result using the result's name, its bound object, and
its attributes.
-
getAttributes()
- Retrieves the attributes in this search result.
attrs
protected AttributeSet attrs
SearchResult
public SearchResult(String name,
Object obj,
AttributeSet attrs)
- Constructs a search result using the result's name, its bound object, and
its attributes.
- Parameters:
- name - The name of the search item.
- obj - The object bound to name.
- attrs - The attributes that was requested to be returned with
this search item.
getAttributes
public AttributeSet getAttributes()
- Retrieves the attributes in this search result.
- Returns:
- The attributes in this search result.
All Packages Class Hierarchy This Package Previous Next Index