Examples of ProcessOfferingsType


Examples of net.opengis.wps10.ProcessOfferingsType

        OperationType eo = owsf.createOperationType();
        eo.setName( "Execute" );
        eo.getDCP().add( Ows11Util.dcp( "wps", eo.getName(), request ) );
        om.getOperation().add( eo );
       
        ProcessOfferingsType po = wpsf.createProcessOfferingsType();
        caps.setProcessOfferings( po );
       
        for(ProcessFactory pf : Processors.getProcessFactories()) {
            for (Name name : pf.getNames()) {
                ProcessBriefType p = wpsf.createProcessBriefType();
                p.setProcessVersion(pf.getVersion(name));
                po.getProcess().add( p );
               
                p.setIdentifier(Ows11Util.code(name));
                p.setTitle(Ows11Util.languageString( pf.getTitle(name).toString()));
                p.setAbstract(Ows11Util.languageString( pf.getDescription(name).toString()));
            }
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetProcessOfferings(ProcessOfferingsType newProcessOfferings, NotificationChain msgs) {
        ProcessOfferingsType oldProcessOfferings = processOfferings;
        processOfferings = newProcessOfferings;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wps10Package.WPS_CAPABILITIES_TYPE__PROCESS_OFFERINGS, oldProcessOfferings, newProcessOfferings);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        return request;
    }

    public ExecuteProcessRequest createExecuteProcessRequest() throws UnsupportedOperationException
    {
        ProcessOfferingsType processOfferings = getCapabilities().getProcessOfferings();
        if ((processOfferings == null) || !processOfferings.eAllContents().hasNext())
        {
            throw new UnsupportedOperationException(
                "Server does not specify any processes to execute. Cannot be performed.");
        }
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        }

        WPSCapabilitiesType capabilities = wps.getCapabilities();

        // get the first process and execute it
        ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
        EList processes = processOfferings.getProcess();
        // ProcessBriefType process = (ProcessBriefType) processes.get(0);

        // does the server contain the specific process I want
        boolean found = false;
        Iterator iterator = processes.iterator();
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        String processIdenLocal = "Union";

        WPSCapabilitiesType capabilities = wps.getCapabilities();

        // get the first process and execute it
        ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
        EList processes = processOfferings.getProcess();
        // ProcessBriefType process = (ProcessBriefType) processes.get(0);

        // does the server contain the specific process I want
        boolean found = false;
        Iterator iterator = processes.iterator();
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        String processIdenLocal = "Union";

        WPSCapabilitiesType capabilities = wps.getCapabilities();

        // get the first process and execute it
        ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
        EList processes = processOfferings.getProcess();
        // ProcessBriefType process = (ProcessBriefType) processes.get(0);

        // does the server contain the specific process I want
        boolean found = false;
        Iterator iterator = processes.iterator();
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        String processIdenLocal = "DoubleAddition";

        WPSCapabilitiesType capabilities = wps.getCapabilities();

        // get the first process and execute it
        ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
        EList processes = processOfferings.getProcess();
        // ProcessBriefType process = (ProcessBriefType) processes.get(0);

        // does the server contain the specific process I want
        boolean found = false;
        Iterator iterator = processes.iterator();
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        String requestedProcess = "JTS:geometryType";

        WPSCapabilitiesType capabilities = wps.getCapabilities();
       
        ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
        List<ProcessBriefType> processes = (List<ProcessBriefType>)processOfferings.getProcess();

        // does the server contain the specific process I want
        boolean found = false;
        for (ProcessBriefType process : processes) {
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        String requestedProcess = "JTS:area";

        WPSCapabilitiesType capabilities = wps.getCapabilities();

        ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
        List<ProcessBriefType> processes = (List<ProcessBriefType>)processOfferings.getProcess();

        // does the server contain the specific process I want
        boolean found = false;
        for (ProcessBriefType process : processes) {
View Full Code Here

Examples of net.opengis.wps10.ProcessOfferingsType

        }

        WPSCapabilitiesType capabilities = wps.getCapabilities();
        assertNotNull("capabilities shouldn't be null", capabilities);

        ProcessOfferingsType processOfferings = capabilities.getProcessOfferings();
        assertNotNull("process offerings shouldn't be null", processOfferings);

        EList processes = processOfferings.getProcess();
        for (int i = 0; i < processes.size(); i++)
        {
            ProcessBriefType process = (ProcessBriefType) processes.get(i);
            // System.out.println(process.getTitle());
            assertNotNull("process [" + process + " shouldn't be null",
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.