org.deegree.services.wps.output
Class LiteralOutputImpl
java.lang.Object
org.deegree.services.wps.output.ProcessletOutputImpl
org.deegree.services.wps.output.LiteralOutputImpl
- All Implemented Interfaces:
- LiteralOutput, ProcessletOutput
public class LiteralOutputImpl
- extends ProcessletOutputImpl
- implements LiteralOutput
Implementation of LiteralOutput
.
- Version:
- $Revision: $, $Date: $
- Author:
- Markus Schneider, last edited by: $Author: schneider $
Method Summary |
String |
getDataType()
Returns the announced literal data type from the process definition (e.g. integer, real, etc) as an URI, such as
http://www.w3.org/TR/xmlschema-2/#integer . |
String |
getRequestedUOM()
Returns the requested UOM (unit-of-measure) for the literal value, it is guaranteed that this UOM is supported
for this parameter (according to the process description). |
String[] |
getSupportedUOMs()
Returns the supported UOMs (unit-of-measures) for the literal output parameter as defined in the process
definition (e.g. |
String |
getValue()
|
void |
setValue(String value)
Sets the value for this output parameter of the Processlet execution. |
LiteralOutputImpl
public LiteralOutputImpl(LiteralOutputDefinition outputType,
String requestedUOM,
boolean isRequested)
setValue
public void setValue(String value)
- Description copied from interface:
LiteralOutput
- Sets the value for this output parameter of the
Processlet
execution.
- Specified by:
setValue
in interface LiteralOutput
- Parameters:
value
- value to be set (in the requested UOM)- See Also:
LiteralOutput.getRequestedUOM()
getRequestedUOM
public String getRequestedUOM()
- Description copied from interface:
LiteralOutput
- Returns the requested UOM (unit-of-measure) for the literal value, it is guaranteed that this UOM is supported
for this parameter (according to the process description).
- Specified by:
getRequestedUOM
in interface LiteralOutput
- Returns:
- the requested UOM (unit-of-measure) for the literal value, may be null
getDataType
public String getDataType()
- Returns the announced literal data type from the process definition (e.g. integer, real, etc) as an URI, such as
http://www.w3.org/TR/xmlschema-2/#integer
.
- Specified by:
getDataType
in interface LiteralOutput
- Returns:
- the data type, or null if not specified in the process definition
getSupportedUOMs
public String[] getSupportedUOMs()
- Returns the supported UOMs (unit-of-measures) for the literal output parameter as defined in the process
definition (e.g. 'meters','feet', etc).
- Returns:
- the supported UOMs (array is never null, but may be empty)
getValue
public String getValue()
Copyright © 2011. All Rights Reserved.