UDK 3.2.0 Java API Reference

com.sun.star.uno
インタフェース IQueryInterface


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.

関連項目:
UnoRuntime

メソッドの概要
 String getOid()
          Returns the unique object identifier (OID) of the underlying UNO object.
 boolean isSame(Object object)
          Tests if the given reference represents a facet of the underlying UNO object.
 Object queryInterface(Type type)
          Returns an object implementing the requested interface type.
 

メソッドの詳細

getOid

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

戻り値:
the OID of the underlying object

queryInterface

public Object queryInterface(Type type)
Returns an object implementing the requested interface type.

パラメータ:
type - the requested UNO interface type; must be a Type object representing a UNO interface type
戻り値:
a reference to the requested UNO interface type if available, otherwise null
関連項目:
UnoRuntime

isSame

public boolean isSame(Object object)
Tests if the given reference represents a facet of the underlying UNO object.

パラメータ:
object - a reference to any Java object representing (a facet of) a UNO object; may be null
戻り値:
true if and only if object is not null and represents the same UNO object as this object

UDK 3.2.0 Java API Reference