Package com._1c.g5.v8.dt.common
Class AdapterManager
java.lang.Object
com._1c.g5.v8.dt.common.AdapterManager
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AdapterManager
public AdapterManager()
-
-
Method Details
-
adapt
Returns an adapter of the specified type for the given object ornull
if none. The object itself is returned if it is an instance of the specified type. If the object is adaptable and does not subclassPlatformObject
, and does not provide the specified adapter directly, the platform's adapter manager is consulted for an adapter.- Parameters:
element
- element to retrieve adapter fortype
- adapter type- Returns:
- adapter or
null
-