Java Doc for ExecuteResponse.java in  » GIS » deegree » org » deegree » ogcwebservices » wps » execute » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » deegree » org.deegree.ogcwebservices.wps.execute 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.deegree.ogcwebservices.wps.execute.ExecuteResponse

ExecuteResponse
public class ExecuteResponse (Code)
ExecuteResponseType.java Created on 09.03.2006. 23:16:26h WPS Execute operation response. By default, this XML document is delivered to the client in response to an Execute request. If "status" is "false" in the Execute operation request, this document is normally returned when process execution has been completed. If "status" in the Execute request is "true", this response shall be returned as soon as the Execute request has been accepted for processing. In this case, the same XML document is also made available as a web-accessible resource from the URL identified in the statusLocation, and the WPS server shall repopulate it once the process has completed. It may repopulate it on an ongoing basis while the process is executing. However, the response to an Execute request will not include this element in the special case where the output is a single complex value result and the Execute request indicates that "store" is "false". Instead, the server shall return the complex result (e.g., GIF image or GML) directly, without encoding it in the ExecuteResponse. If processing fails in this special case, the normal ExecuteResponse shall be sent, with the error condition indicated. This option is provided to simplify the programming required for simple clients and for service chaining.
author:
   Christian Kiehle
author:
   Christian Heier
version:
   1.0.
since:
   2.0

Inner Class :public static class ProcessOutputs

Field Summary
protected  ExecuteDataInputsdataInputs
     Inputs that were provided as part of the execute request.
 booleandirectResponse
     Convenience variable to simplify execute response handling.
protected  Codeidentifier
     Identifier of the Process requested to be executed.
protected  OutputDefinitionsoutputDefinitions
     Complete list of Output data types that were requested as part of the Execute request.
protected  ProcessOutputsprocessOutputs
     List of values of the Process output parameters.
protected  Statusstatus
     Execution status of this process.
protected  StringstatusLocation
     The URL referencing the location from which the ExecuteResponse can be retrieved.
protected  Stringversion
     Version of the WPS interface specification implemented by the server.

Constructor Summary
public  ExecuteResponse(ExecuteDataInputs dataInputs, Code identifier, OutputDefinitions outputDefinitions, ProcessOutputs processOutputs, Status status, String statusLocation, String version, boolean directResponse)
    
public  ExecuteResponse()
    

Method Summary
public  ExecuteDataInputsgetDataInputs()
    
public  CodegetIdentifier()
    
public  OutputDefinitionsgetOutputDefinitions()
    
public  ProcessOutputsgetProcessOutputs()
    
public  StatusgetStatus()
    
public  StringgetStatusLocation()
    
public  StringgetVersion()
    
public  booleanisDirectResponse()
    
public  voidsetDataInputs(ExecuteDataInputs dataInputs)
    
public  voidsetDirectResponse(boolean directResponse)
    
public  voidsetIdentifier(Code identifier)
    
public  voidsetOutputDefinitions(OutputDefinitions outputDefinitions)
    
public  voidsetProcessOutputs(ProcessOutputs processOutputs)
    
public  voidsetStatus(Status status)
    
public  voidsetStatusLocation(String statusLocation)
    
public  voidsetVersion(String version)
    

Field Detail
dataInputs
protected ExecuteDataInputs dataInputs(Code)
Inputs that were provided as part of the execute request. This element can be omitted as an implementation decision by the WPS server. However, it is often advisable to have the response include this information, so the client can confirm that the request was received correctly, and to provide a source of metadata if the client wishes to store the result for future reference.



directResponse
boolean directResponse(Code)
Convenience variable to simplify execute response handling.



identifier
protected Code identifier(Code)
Identifier of the Process requested to be executed. This Process identifier shall be as listed in the ProcessOfferings section of the WPS Capabilities document.



outputDefinitions
protected OutputDefinitions outputDefinitions(Code)
Complete list of Output data types that were requested as part of the Execute request. This element can be omitted as an implementation decision by the WPS server. However, it is often advisable to have the response include this information, so the client can confirm that the request was received correctly, and to provide a source of metadata if the client wishes to store the result for future reference.



processOutputs
protected ProcessOutputs processOutputs(Code)
List of values of the Process output parameters. Normally there would be at least one output when the process has completed successfully. If the process has not finished executing, the implementer can choose to include whatever final results are ready at the time the Execute response is provided. If the reference locations of outputs are known in advance, these URLs may be provided before they are populated.



status
protected Status status(Code)
Execution status of this process.



statusLocation
protected String statusLocation(Code)
The URL referencing the location from which the ExecuteResponse can be retrieved. If "status" is "true" in the Execute request, the ExecuteResponse should also be found here as soon as the process returns the initial response to the client. It should persist at this location as long as the outputs are accessible from the server. The outputs may be stored for as long as the implementer of the server decides. If the process takes a long time, this URL can be repopulated on an ongoing basis in order to keep the client updated on progress. Before the process has succeeded, the ExecuteResponse contains information about the status of the process, including whether or not processing has started, and the percentage completed. It may also optionally contain the inputs and any ProcessStartedType interim results. When the process has succeeded, the ExecuteResponse found at this URL shall contain the output values or references to them.



version
protected String version(Code)
Version of the WPS interface specification implemented by the server.




Constructor Detail
ExecuteResponse
public ExecuteResponse(ExecuteDataInputs dataInputs, Code identifier, OutputDefinitions outputDefinitions, ProcessOutputs processOutputs, Status status, String statusLocation, String version, boolean directResponse)(Code)

Parameters:
  dataInputs -
Parameters:
  identifier -
Parameters:
  outputDefinitions -
Parameters:
  processOutputs -
Parameters:
  status -
Parameters:
  statusLocation -
Parameters:
  version -
Parameters:
  directResponse -



ExecuteResponse
public ExecuteResponse()(Code)




Method Detail
getDataInputs
public ExecuteDataInputs getDataInputs()(Code)
Returns the dataInputs.



getIdentifier
public Code getIdentifier()(Code)
Returns the identifier.



getOutputDefinitions
public OutputDefinitions getOutputDefinitions()(Code)
Returns the outputDefinitions.



getProcessOutputs
public ProcessOutputs getProcessOutputs()(Code)
Returns the processOutputs.



getStatus
public Status getStatus()(Code)
Returns the status.



getStatusLocation
public String getStatusLocation()(Code)
Returns the statusLocation.



getVersion
public String getVersion()(Code)
Returns the version.



isDirectResponse
public boolean isDirectResponse()(Code)
Returns the directResponse.



setDataInputs
public void setDataInputs(ExecuteDataInputs dataInputs)(Code)

Parameters:
  dataInputs -



setDirectResponse
public void setDirectResponse(boolean directResponse)(Code)

Parameters:
  directResponse -



setIdentifier
public void setIdentifier(Code identifier)(Code)



setOutputDefinitions
public void setOutputDefinitions(OutputDefinitions outputDefinitions)(Code)



setProcessOutputs
public void setProcessOutputs(ProcessOutputs processOutputs)(Code)



setStatus
public void setStatus(Status status)(Code)



setStatusLocation
public void setStatusLocation(String statusLocation)(Code)



setVersion
public void setVersion(String version)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.