org.deegree.services.wps.input
Class BoundingBoxInputImpl

java.lang.Object
  extended by org.deegree.services.wps.input.ProcessletInputImpl
      extended by org.deegree.services.wps.input.BoundingBoxInputImpl
All Implemented Interfaces:
BoundingBoxInput, ProcessletInput

public class BoundingBoxInputImpl
extends ProcessletInputImpl
implements BoundingBoxInput

A Process input parameter with a bounding box value.

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

Field Summary
 
Fields inherited from class org.deegree.services.wps.input.ProcessletInputImpl
definition
 
Constructor Summary
BoundingBoxInputImpl(BoundingBoxInputDefinition definition, LanguageString title, LanguageString summary, Envelope value)
          Creates a new BoundingBoxInputImpl instance.
 
Method Summary
 String getCRSName()
          Returns the CRS (coordinate reference system) name of the bounding box.
 BoundingBoxInputDefinition getDefinition()
          Returns the type information for this input argument.
 double[] getLower()
          Returns the lower corner point of the bounding box.
 double[] getUpper()
          Returns the upper corner point of the bounding box.
 Envelope getValue()
          Returns the bounding box value, it is guaranteed that the SRS (spatial reference system) of the returned Envelope is supported for this parameter (according to the process description).
 String toString()
           
 
Methods inherited from class org.deegree.services.wps.input.ProcessletInputImpl
getAbstract, getIdentifier, getTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wps.input.ProcessletInput
getAbstract, getIdentifier, getTitle
 

Constructor Detail

BoundingBoxInputImpl

public BoundingBoxInputImpl(BoundingBoxInputDefinition definition,
                            LanguageString title,
                            LanguageString summary,
                            Envelope value)
Creates a new BoundingBoxInputImpl instance.

Parameters:
definition - corresponding input definition from process description
title - optional title supplied with the input parameter, may be null
summary - optional narrative description supplied with the input parameter, may be null
value - bounding box value, the srs must be null or supported according to the input definition
Method Detail

getCRSName

public String getCRSName()
Description copied from interface: BoundingBoxInput
Returns the CRS (coordinate reference system) name of the bounding box.

Specified by:
getCRSName in interface BoundingBoxInput
Returns:
the CRS (coordinate reference system) name or null if unspecified

getLower

public double[] getLower()
Description copied from interface: BoundingBoxInput
Returns the lower corner point of the bounding box.

Specified by:
getLower in interface BoundingBoxInput
Returns:
the lower corner point

getUpper

public double[] getUpper()
Description copied from interface: BoundingBoxInput
Returns the upper corner point of the bounding box.

Specified by:
getUpper in interface BoundingBoxInput
Returns:
the upper corner point

getValue

public Envelope getValue()
Description copied from interface: BoundingBoxInput
Returns the bounding box value, it is guaranteed that the SRS (spatial reference system) of the returned Envelope is supported for this parameter (according to the process description).

Specified by:
getValue in interface BoundingBoxInput
Returns:
the value

getDefinition

public BoundingBoxInputDefinition getDefinition()
Description copied from class: ProcessletInputImpl
Returns the type information for this input argument.

Overrides:
getDefinition in class ProcessletInputImpl
Returns:
the type information

toString

public String toString()
Overrides:
toString in class ProcessletInputImpl


Copyright © 2011. All Rights Reserved.