/** * Returns the <i>IID</i> of this object * * @return String representation of 128 bit uuid. */ @Override public String getInterfaceIdentifier () { return this.comObject.getInterfaceIdentifier (); }
/** Returns the <i>IID</i> of this object * * @return String representation of 128 bit uuid. */ public String getInterfaceIdentifier() { return comObject.getInterfaceIdentifier(); }
/** Returns the <i>IID</i> of this object * * @return String representation of 128 bit uuid. */ public String getInterfaceIdentifier() { return comObject.getInterfaceIdentifier(); }
public void UpdatePageStatus( IJIComObject pDisp, JIVariant nPage, JIVariant fDone) { System.out.println("UpdatePageStatus - > " + pDisp.getInterfaceIdentifier()); }
public void UpdatePageStatus( IJIComObject pDisp, JIVariant nPage, JIVariant fDone) { System.out.println("UpdatePageStatus - > " + pDisp.getInterfaceIdentifier()); }
public void DocumentComplete( IJIComObject pDisp, JIVariant URL) throws JIException { System.out.println("DocumentComplete -> " + pDisp.getInterfaceIdentifier() + " , " + URL); }
public void DocumentComplete( IJIComObject pDisp, JIVariant URL) throws JIException { System.out.println("DocumentComplete -> " + pDisp.getInterfaceIdentifier() + " , " + URL); }
public void DocumentComplete ( final IJIComObject pDisp, final JIVariant URL ) throws JIException { System.out.println ( "DocumentComplete -> " + pDisp.getInterfaceIdentifier () + " , " + URL ); }
public void PrintTemplateTeardown ( final IJIComObject pDisp ) { System.out.println ( "PrintTemplateTeardown - > " + pDisp.getInterfaceIdentifier () ); }
public void PrintTemplateInstantiation(IJIComObject pDisp) { System.out.println("PrintTemplateInstantiation - > " + pDisp.getInterfaceIdentifier()); }
public void PrintTemplateTeardown(IJIComObject pDisp) { System.out.println("PrintTemplateTeardown - > " + pDisp.getInterfaceIdentifier()); }
public void PrintTemplateInstantiation ( final IJIComObject pDisp ) { System.out.println ( "PrintTemplateInstantiation - > " + pDisp.getInterfaceIdentifier () ); }
public void PrintTemplateTeardown(IJIComObject pDisp) { System.out.println("PrintTemplateTeardown - > " + pDisp.getInterfaceIdentifier()); }
public void UpdatePageStatus ( final IJIComObject pDisp, final JIVariant nPage, final JIVariant fDone ) { System.out.println ( "UpdatePageStatus - > " + pDisp.getInterfaceIdentifier () ); }
public void PrintTemplateInstantiation(IJIComObject pDisp) { System.out.println("PrintTemplateInstantiation - > " + pDisp.getInterfaceIdentifier()); }
public static IJIComObject narrowObject ( final IJIComObject comObject ) throws JIException { IJIComObject retval = comObject; final String IID = comObject.getInterfaceIdentifier (); if ( IID.equalsIgnoreCase ( IID_IDispatch ) )// && iUnknown.isIDispatchSupported()) { retval = new JIDispatchImpl ( retval ); } else if ( IID.equalsIgnoreCase ( IID_ITypeInfo ) )// && iUnknown.isIDispatchSupported()) { retval = new JITypeInfoImpl ( retval ); } else if ( IID.equalsIgnoreCase ( IID_ITypeLib ) )// && iUnknown.isIDispatchSupported()) { retval = new JITypeLibImpl ( retval ); } else if ( IID.equalsIgnoreCase ( IID_IEnumVariant ) )// && iUnknown.isIDispatchSupported()) { retval = new JIEnumVARIANTImpl ( retval ); } return retval; }
public void NavigateComplete2 ( IJIComObject pDisp, final JIVariant URL ) throws JIException { pDisp = JIObjectFactory.narrowObject ( pDisp ); JIVariant realURL = URL; while ( realURL.isByRefFlagSet () ) { realURL = realURL.getObjectAsVariant (); } System.out.println ( "NavigateComplete2 -> " + pDisp.getInterfaceIdentifier () + " , " + realURL.getObjectAsString ().getString () ); }
public void NavigateComplete2( IJIComObject pDisp, JIVariant URL) throws JIException { pDisp = JIObjectFactory.narrowObject(pDisp); JIVariant realURL = URL; while (realURL.isByRefFlagSet()) { realURL = realURL.getObjectAsVariant(); } System.out.println("NavigateComplete2 -> " + pDisp.getInterfaceIdentifier() + " , " + realURL.getObjectAsString().getString()); }
public void NavigateComplete2( IJIComObject pDisp, JIVariant URL) throws JIException { pDisp = JIObjectFactory.narrowObject(pDisp); JIVariant realURL = URL; while (realURL.isByRefFlagSet()) { realURL = realURL.getObjectAsVariant(); } System.out.println("NavigateComplete2 -> " + pDisp.getInterfaceIdentifier() + " , " + realURL.getObjectAsString().getString()); }
/** * @exclude * @param comObject * @param identifier * @throws JIException */ public static void detachEventHandler(IJIComObject comObject, String identifier) throws JIException { Object[] connectionInfo = comObject.internal_getConnectionInfo(identifier); if (connectionInfo == null) { throw new JIException(JIErrorCodes.JI_CALLBACK_INVALID_ID); } if (JISystem.getLogger().isLoggable(Level.INFO)) { JISystem.getLogger().info("Detaching event handler for comObject: " + comObject.getInterfaceIdentifier() + " , identifier: " + identifier); } IJIComObject connectionPointer = (IJIComObject)connectionInfo[0]; //first use the cookie to detach. JICallBuilder object = new JICallBuilder(true); object.setOpnum(3); object.addInParamAsInt(((Integer)connectionInfo[1]).intValue(),JIFlags.FLAG_NULL); connectionPointer.call(object); //now release the connectionPointer. connectionPointer.release(); }