org.deegree.services.wps.execute
Class RequestedOutput

java.lang.Object
  extended by org.deegree.services.wps.execute.RequestedOutput

public class RequestedOutput
extends java.lang.Object

Definition of a format, encoding, schema, and unit-of-measure for an output to be returned from a process as part of ResponseDocument.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
RequestedOutput(ProcessletOutputDefinition outputType, boolean asReference, java.lang.String mimeType, java.lang.String encoding, java.lang.String schemaURL, java.lang.String uom, org.deegree.commons.tom.ows.LanguageString title, org.deegree.commons.tom.ows.LanguageString summary)
          Creates a new RequestedOutput instance.
 
Method Summary
 org.deegree.commons.tom.ows.LanguageString getAbstract()
          Returns the abstract of the process output parameter, normally available for display to a human.
 boolean getAsReference()
          Returns whether this output should be stored by the process as a web-accessible resource.
 java.lang.String getEncoding()
          Returns the requested encoding for this output (e.g., UTF-8).
 org.deegree.commons.tom.ows.CodeType getIdentifier()
          Returns the identifier of the output parameter.
 java.lang.String getMimeType()
          Returns the requested format for this output (e.g., text/xml).
 ProcessletOutputDefinition getOutputType()
          Returns the definition of the output parameter from the process description.
 java.lang.String getSchemaURL()
          Returns the location of a web-accessible XML schema document that defines the content model of the output.
 org.deegree.commons.tom.ows.LanguageString getTitle()
          Returns the title of the process output parameter, normally available for display to a human.
 java.lang.String getUom()
          Returns the reference to the unit of measure requested for this output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestedOutput

public RequestedOutput(ProcessletOutputDefinition outputType,
                       boolean asReference,
                       java.lang.String mimeType,
                       java.lang.String encoding,
                       java.lang.String schemaURL,
                       java.lang.String uom,
                       org.deegree.commons.tom.ows.LanguageString title,
                       org.deegree.commons.tom.ows.LanguageString summary)
Creates a new RequestedOutput instance.

Parameters:
outputType - type information of the targeted output parameter (includes the identifier)
asReference - specifies if this output should be stored by the process as a web-accessible resource
mimeType - the format requested for this output (e.g., text/xml), or null for the default format
encoding - the encoding of requested for this output (e.g., UTF-8), or null for the default encoding
schemaURL - web-accessible XML schema document that defines the content model of the output, may be null
uom - reference to the unit of measure (if any) requested for this output, may be null
title - title of the process output parameter, normally available for display to a human
summary - brief narrative description of the process output parameter, normally available for display to a human
Method Detail

getIdentifier

public org.deegree.commons.tom.ows.CodeType getIdentifier()
Returns the identifier of the output parameter.

Returns:
the identifier of the output parameter

getOutputType

public ProcessletOutputDefinition getOutputType()
Returns the definition of the output parameter from the process description.

Returns:
the definition of the output parameter

getAsReference

public boolean getAsReference()
Returns whether this output should be stored by the process as a web-accessible resource.

Returns:
true, if this output should be stored by the process as a web-accessible resource, false otherwise

getMimeType

public java.lang.String getMimeType()
Returns the requested format for this output (e.g., text/xml).

Returns:
the requested format for this output, or null if unspecified

getEncoding

public java.lang.String getEncoding()
Returns the requested encoding for this output (e.g., UTF-8).

Returns:
the requested encoding for this output, or null if unspecified

getSchemaURL

public java.lang.String getSchemaURL()
Returns the location of a web-accessible XML schema document that defines the content model of the output.

Returns:
the location of a web-accessible XML schema document, or null if unspecified

getUom

public java.lang.String getUom()
Returns the reference to the unit of measure requested for this output.

Returns:
the reference to the unit of measure, or null if unspecified

getTitle

public org.deegree.commons.tom.ows.LanguageString getTitle()
Returns the title of the process output parameter, normally available for display to a human.

Returns:
the title of the process output parameter, null if unspecified

getAbstract

public org.deegree.commons.tom.ows.LanguageString getAbstract()
Returns the abstract of the process output parameter, normally available for display to a human.

Returns:
the abstract of the process output parameter, null if unspecified


Copyright © 2011. All Rights Reserved.