javax.naming.directory
Class SearchResult

java.lang.Object
  extended by javax.naming.NameClassPair
      extended by javax.naming.Binding
          extended by javax.naming.directory.SearchResult
All Implemented Interfaces:
Serializable

public class SearchResult
extends Binding

See Also:
Serialized Form

Constructor Summary
SearchResult(String name, Object obj, Attributes attrs)
           
SearchResult(String name, Object obj, Attributes attrs, boolean isRelative)
           
SearchResult(String name, String className, Object obj, Attributes attrs)
           
SearchResult(String name, String className, Object obj, Attributes attrs, boolean isRelative)
           
 
Method Summary
 Attributes getAttributes()
           
 void setAttributes(Attributes attrs)
           
 String toString()
          Returns the string representation.
 
Methods inherited from class javax.naming.Binding
getClassName, getObject, setObject
 
Methods inherited from class javax.naming.NameClassPair
getName, getNameInNamespace, isRelative, setClassName, setName, setNameInNamespace, setRelative
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchResult

public SearchResult(String name,
                    Object obj,
                    Attributes attrs)

SearchResult

public SearchResult(String name,
                    Object obj,
                    Attributes attrs,
                    boolean isRelative)

SearchResult

public SearchResult(String name,
                    String className,
                    Object obj,
                    Attributes attrs)

SearchResult

public SearchResult(String name,
                    String className,
                    Object obj,
                    Attributes attrs,
                    boolean isRelative)
Method Detail

getAttributes

public Attributes getAttributes()

setAttributes

public void setAttributes(Attributes attrs)

toString

public String toString()
Description copied from class: Binding
Returns the string representation.

Overrides:
toString in class Binding
Returns:
The string as given by the NameClassPair superclass plus the bound objects string representation seperated by a colon.
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)