Examples of identify()


Examples of com.gi.server.core.service.mapservice.MapServiceInstance.identify()

          identifyParam.setTolerance(nTolerance);

          MapServiceInstance instance = (MapServiceInstance) mapService
              .getMapServicePool().checkoutIdleInstance();
          try {
            featureResults = instance.identify(layerIds,
                identifyParam);
          } finally {
            if (instance != null) {
              mapService.getMapServicePool().checkinIdelInstance(
                  instance);
View Full Code Here

Examples of com.sun.star.frame.XModuleManager.identify()

                    throw new com.sun.star.uno.RuntimeException();
               
                Object oModuleManager = xFactory.createInstanceWithContext( "com.sun.star.frame.ModuleManager", xContext );
                XModuleManager xModuleManager = ( XModuleManager ) UnoRuntime.queryInterface( XModuleManager.class, oModuleManager );
                if ( xModuleManager != null )
                    aDocServiceName = xModuleManager.identify( xModel );
            }
            catch( java.lang.Exception e )
            {
                e.printStackTrace();
            }
View Full Code Here

Examples of com.sun.star.frame.XModuleManager.identify()

                    throw new com.sun.star.uno.RuntimeException();
               
                Object oModuleManager = xFactory.createInstanceWithContext( "com.sun.star.frame.ModuleManager", xContext );
                XModuleManager xModuleManager = ( XModuleManager ) UnoRuntime.queryInterface( XModuleManager.class, oModuleManager );
                if ( xModuleManager != null )
                    aDocServiceName = xModuleManager.identify( xModel );
            }
            catch( java.lang.Exception e )
            {
                e.printStackTrace();
            }
View Full Code Here

Examples of com.sun.star.frame.XModuleManager.identify()

                    throw new com.sun.star.uno.RuntimeException();
               
                Object oModuleManager = xFactory.createInstanceWithContext( "com.sun.star.frame.ModuleManager", xContext );
                XModuleManager xModuleManager = ( XModuleManager ) UnoRuntime.queryInterface( XModuleManager.class, oModuleManager );
                if ( xModuleManager != null )
                    aDocServiceName = xModuleManager.identify( xModel );
            }
            catch( java.lang.Exception e )
            {
                e.printStackTrace();
            }
View Full Code Here

Examples of com.sun.star.frame.XModuleManager.identify()

                    throw new com.sun.star.uno.RuntimeException();
               
                Object oModuleManager = xFactory.createInstanceWithContext( "com.sun.star.frame.ModuleManager", xContext );
                XModuleManager xModuleManager = ( XModuleManager ) UnoRuntime.queryInterface( XModuleManager.class, oModuleManager );
                if ( xModuleManager != null )
                    aDocServiceName = xModuleManager.identify( xModel );
            }
            catch( java.lang.Exception e )
            {
                e.printStackTrace();
            }
View Full Code Here

Examples of com.sun.star.frame.XModuleManager.identify()

                    throw new com.sun.star.uno.RuntimeException();
               
                Object oModuleManager = xFactory.createInstanceWithContext( "com.sun.star.frame.ModuleManager", xContext );
                XModuleManager xModuleManager = ( XModuleManager ) UnoRuntime.queryInterface( XModuleManager.class, oModuleManager );
                if ( xModuleManager != null )
                    aDocServiceName = xModuleManager.identify( xModel );
            }
            catch( java.lang.Exception e )
            {
                e.printStackTrace();
            }
View Full Code Here

Examples of com.sun.star.frame.XModuleManager.identify()

                    throw new com.sun.star.uno.RuntimeException();
               
                Object oModuleManager = xFactory.createInstanceWithContext( "com.sun.star.frame.ModuleManager", xContext );
                XModuleManager xModuleManager = ( XModuleManager ) UnoRuntime.queryInterface( XModuleManager.class, oModuleManager );
                if ( xModuleManager != null )
                    aDocServiceName = xModuleManager.identify( xModel );
            }
            catch( java.lang.Exception e )
            {
                e.printStackTrace();
            }
View Full Code Here

Examples of com.sun.star.frame.XModuleManager.identify()

      XComponent xComponent = xDescTop.getCurrentComponent();

      Object moduleManager =
               xMultiComponentFactory.createInstanceWithContext("com.sun.star.frame.ModuleManager", xComponentContext);
      XModuleManager xMM = (XModuleManager) UnoRuntime.queryInterface(XModuleManager.class, moduleManager);
      currentModelName = xMM.identify(xComponent);

      xStorable = (XStorable) UnoRuntime.queryInterface(XStorable.class, xComponent);

      XDocumentInfoSupplier xDocumentInfoSupplier =
               (XDocumentInfoSupplier) UnoRuntime.queryInterface(XDocumentInfoSupplier.class, xComponent);
View Full Code Here

Examples of eu.planets_project.ifr.core.services.identification.jhove.impl.JhoveIdentification.identify()

    }

    private IdentifyResult identify(final DigitalObject digitalObject) {
        /* Identify the binary: */
        JhoveIdentification identification = new JhoveIdentification();
        IdentifyResult identify = identification.identify(digitalObject, null);
        return identify;
    }

}
View Full Code Here

Examples of eu.planets_project.services.identify.Identify.identify()

                Identify.NAME));
        Identify droid = service.getPort(Identify.class);
        byte[] array = FileUtils.readFileToByteArray(f1);
       
        //invoke the service and extract results
        IdentifyResult identify = droid.identify(new DigitalObject.Builder(Content.byValue(array)).build(), null);
        List<URI> result = identify.getTypes();
        String status = identify.getReport().getMessage();
       
        if(!status.equals("Positive")){
          throw new Exception("Service execution failed");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.