Top Description Methods
com.sun.star.uno

public Interface IQueryInterface


This is the delegator interface for Java objects implementing interfaces of an underlying UNO object.

Calls are delegated through the UnoRuntime to this interface. Implement this interface in case you want to customize the behaviour of UnoRuntime.queryInterface.

See Also
com.sun.star.uno.UnoRuntime

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the OID of the underlying object
getOid
()

Returns the unique object identifier (OID) of the underlying UNO object.

public boolean

Returns:

true if and only if object is not null and represents the same UNO object as this object
isSame
(Object
a reference to any Java object representing (a facet of) a UNO object; may be null
object
)

Tests if the given reference represents a facet of the underlying UNO object.

public Object

Returns:

a reference to the requested UNO interface type if available, otherwise null
queryInterface
(Type
the requested UNO interface type; must be a Type object representing a UNO interface type
type
)

Returns an object implementing the requested interface type.

Method Detail

getOidback to summary
public String getOid()

Returns the unique object identifier (OID) of the underlying UNO object.

Returns:String

the OID of the underlying object

isSameback to summary
public boolean isSame(Object object)

Tests if the given reference represents a facet of the underlying UNO object.

Parameters
object:Object

a reference to any Java object representing (a facet of) a UNO object; may be null

Returns:boolean

true if and only if object is not null and represents the same UNO object as this object

queryInterfaceback to summary
public Object queryInterface(Type type)

Returns an object implementing the requested interface type.

Parameters
type:Type

the requested UNO interface type; must be a Type object representing a UNO interface type

Returns:Object

a reference to the requested UNO interface type if available, otherwise null

See Also
com.sun.star.uno.UnoRuntime