* @param xTarget An implementation of a UNO object.
* @return The implementation id.
*/
public static String getImplID( XInterface xTarget ) {
String str = "";
XTypeProvider xTypeProvider = (XTypeProvider)
UnoRuntime.queryInterface( XTypeProvider.class, xTarget);
if( xTypeProvider != null ) {
byte[] id = xTypeProvider.getImplementationId();
str = "ImplementationID: ";
for (int i=0; i<id.length;i++) {
Byte b = new Byte(id[i]);
str += b.intValue();
}