org.deegree.protocol.wps.client.process.execute
Class ExecutionOutputs

java.lang.Object
  extended by org.deegree.protocol.wps.client.process.execute.ExecutionOutputs

public class ExecutionOutputs
extends Object

Provides access to the outputs from a ProcessExecution.

Version:
$Revision: 26137 $, $Date: 2010-08-25 18:05:25 +0200 (Wed, 25 Aug 2010) $
Author:
Markus Schneider, last edited by: $Author: aionita $

Constructor Summary
ExecutionOutputs(ExecutionOutput[] outputs)
          Creates a new ExecutionOutputs instance.
 
Method Summary
 ExecutionOutput get(int i)
          Returns the output with the specified index.
 ExecutionOutput get(String id, String idCodeSpace)
          Returns the output with the specified identifier.
 ExecutionOutput[] getAll()
          Returns all outputs.
 BBoxOutput getBoundingBox(String id, String idCodeSpace)
          Returns the bounding box output with the specified identifier.
 ComplexOutput getComplex(String id, String idCodeSpace)
          Returns the complex output with the specified identifier.
 LiteralOutput getLiteral(String id, String idCodeSpace)
          Returns the literal output with the specified identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionOutputs

public ExecutionOutputs(ExecutionOutput[] outputs)
Creates a new ExecutionOutputs instance.

Parameters:
outputs - output values, never null
Method Detail

getAll

public ExecutionOutput[] getAll()
Returns all outputs.

Returns:
all outputs, never null

get

public ExecutionOutput get(int i)
Returns the output with the specified index.

Parameters:
i - index of the output, starting with zero
Returns:
the output with the specified index, never null
Throws:
IndexOutOfBoundsException - if no such output exists

get

public ExecutionOutput get(String id,
                           String idCodeSpace)
Returns the output with the specified identifier.

Parameters:
id - output identifier, never null
idCodeSpace - codespace of the output identifier, may be null (for identifiers that don't use a code space)
Returns:
output with the specified identifier, may be null (if no such output exists)

getLiteral

public LiteralOutput getLiteral(String id,
                                String idCodeSpace)
Returns the literal output with the specified identifier.

Parameters:
id - output identifier, never null
idCodeSpace - codespace of the output identifier, may be null (for identifiers that don't use a code space)
Returns:
output with the specified identifier, may be null (if no such output exists)

getBoundingBox

public BBoxOutput getBoundingBox(String id,
                                 String idCodeSpace)
Returns the bounding box output with the specified identifier.

Parameters:
id - output identifier, never null
idCodeSpace - codespace of the output identifier, may be null (for identifiers that don't use a code space)
Returns:
output with the specified identifier, may be null (if no such output exists)

getComplex

public ComplexOutput getComplex(String id,
                                String idCodeSpace)
Returns the complex output with the specified identifier.

Parameters:
id - output identifier, never null
idCodeSpace - codespace of the output identifier, may be null (for identifiers that don't use a code space)
Returns:
output with the specified identifier, may be null (if no such output exists)


Copyright © 2011. All Rights Reserved.