Package com.sun.star.uno
Interface IQueryInterface
-
public interface IQueryInterfaceThis is the delegator interface for Java objects implementing interfaces of an underlying UNO object.Calls are delegated through the
UnoRuntimeto this interface. Implement this interface in case you want to customize the behaviour ofUnoRuntime.queryInterface.- See Also:
UnoRuntime
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetOid()Returns the unique object identifier (OID) of the underlying UNO object.booleanisSame(Object object)Tests if the given reference represents a facet of the underlying UNO object.ObjectqueryInterface(Type type)Returns an object implementing the requested interface type.
-
-
-
Method Detail
-
getOid
String getOid()
Returns the unique object identifier (OID) of the underlying UNO object.- Returns:
- the OID of the underlying object
-
queryInterface
Object queryInterface(Type type)
Returns an object implementing the requested interface type.- Parameters:
type- the requested UNO interface type; must be aTypeobject representing a UNO interface type- Returns:
- a reference to the requested UNO interface type if available,
otherwise
null - See Also:
UnoRuntime
-
isSame
boolean isSame(Object object)
Tests if the given reference represents a facet of the underlying UNO object.- Parameters:
object- a reference to any Java object representing (a facet of) a UNO object; may benull- Returns:
trueif and only ifobjectis notnulland represents the same UNO object as this object
-
-