public interface IQueryInterface
Calls are delegated through the UnoRuntime to this
interface. Implement this interface in case you want to customize the
behaviour of UnoRuntime.queryInterface.
UnoRuntime| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOid()
Returns the unique object identifier (OID) of the underlying UNO object.
|
boolean |
isSame(java.lang.Object object)
Tests if the given reference represents a facet of the underlying UNO
object.
|
java.lang.Object |
queryInterface(Type type)
Returns an object implementing the requested interface type.
|
java.lang.String getOid()
java.lang.Object queryInterface(Type type)
type - the requested UNO interface type; must be a Type
object representing a UNO interface typenullUnoRuntimeboolean isSame(java.lang.Object object)
object - a reference to any Java object representing (a facet of) a
UNO object; may be nulltrue if and only if object is not
null and represents the same UNO object as this object