(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.
UDK 3.2.7 Java API Reference

com.sun.star.uno
Interface 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.

See Also:
UnoRuntime

Method Summary
 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.
 

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 a Type object 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 be null
Returns:
true if and only if object is not null and represents the same UNO object as this object

UDK 3.2.7 Java API Reference

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.