# com.bea.ide.core
IDriverSupport Interface

public interface IDriverSupport

All Known Implementing Classes
  `DefaultDocument`, `JavaDocument`, `ControlDocument`, `ControlContainerDocument`, `DefaultSourceDocument`, `DefaultDocumentView`, `DefaultSourceViewDriver`

All Known Subinterfaces
  `IDesignView`, `IDocument`, `IDocumentView`, `IProject`, `IRelatedDocument`, `ISourceDocument`, `ISourceView`, `ISourceViewDriver`, `IVersionedDocument`

## Method Summary

`public `Object`` | `getDriver`(`Class` oClass) Returns the driver object associated with the given class.

## Method Detail

### getDriver(Class) Method

    public Object getDriver(Class oClass)

Returns the driver object associated with the given class. Drivers are typically used to customize the behavior of shared services and implementations. Typically, the driver will be represented by some interface. When that interface is passed to getDriver, the object implementing the interface for this document should be returned. The method may return null to indicate that the requested driver does not have an implementation for this document.

#### Parameters

oClass
  The class object representing the class of the driver that is being requested.

#### Returns

An object implementing the given class or null if no driver is not implemented.