|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sun.star.uno
Interface IQueryInterface
- public interface IQueryInterface
This is the delegator interface for objects implementing
interfaces for an underlying object. Call are delegated
through the UnoRuntime
to this interface.
Implement this interface, in case you want to customize the behaviour of queryInterface.
- Since:
- UDK1.0
- See Also:
UnoRuntime
,IQueryInterface
,IBridge
Method Summary | |
java.lang.String |
getOid()
returns the object identifier (oid) of the underlying object. |
boolean |
isSame(java.lang.Object object)
Tests if the given object is an interface of the same underlying object. |
java.lang.Object |
queryInterface(Type type)
Returns an object implementing the desired interface. |
Method Detail |
queryInterface
public java.lang.Object queryInterface(Type type)
- Returns an object implementing the desired interface.
- Parameters:
type
- the type of the desired interface.- Returns:
- the desired interface if available, otherwise null.
- See Also:
UnoRuntime
isSame
public boolean isSame(java.lang.Object object)
- Tests if the given object is an interface of the same underlying object.
- Parameters:
object
- an object representing an interface.- Returns:
- true, if the underlying object is the same, otherwise false.
getOid
public java.lang.String getOid()
- returns the object identifier (oid) of the underlying object.
- Returns:
- the oid of the underlying object.
|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |