APIdia Launch Partner
Top Fields Constructors Methods
com.sun.jndi.ldap

pack-priv Class SearchResultWithControls

extends SearchResult
implements HasControls
Class Inheritance
All Implemented Interfaces
javax.naming.ldap.HasControls
Imports
javax.naming.*, javax.naming.directory.*, javax.naming.ldap.*

Field Summary

Modifier and TypeField and Description
private Control[]
private static final long

Constructor Summary

AccessConstructor and Description
public
SearchResultWithControls(String name, Object obj, Attributes attrs, boolean isRelative, Control[] controls)

Method Summary

Modifier and TypeMethod and Description
public Control[]
getControls()

Implements javax.naming.ldap.HasControls.getControls.

Retrieves an array of Controls from the object that implements this interface.

Inherited from javax.naming.directory.SearchResult:
getAttributessetAttributestoString

Field Detail

controlsback to summary
private Control[] controls
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.directory.SearchResult.serialVersionUID.

Constructor Detail

SearchResultWithControlsback to summary
public SearchResultWithControls(String name, Object obj, Attributes attrs, boolean isRelative, Control[] controls)

Method Detail

getControlsback to summary
public Control[] getControls() throws NamingException

Implements javax.naming.ldap.HasControls.getControls.

Doc from javax.naming.ldap.HasControls.getControls.

Retrieves an array of Controls from the object that implements this interface. It is null if there are no controls.

Exceptions
NamingException:
If cannot return controls due to an error.