abstractpublic class AbstractOperation implements Operation,Serializable(Code)
Provides descriptive information for a
processing operation.
The descriptive information includes such information as the name of the operation, operation
description, and number of source grid coverages required for the operation.
since: 2.2 version: $Id: AbstractOperation.java 25262 2007-04-23 21:11:16Z desruisseaux $ author: Martin Desruisseaux
Applies a process operation to a coverage. This method is invoked by
DefaultProcessor .
Parameters: parameters - List of name value pairs for the parameters required for the operation. Parameters: hints - A set of rendering hints, or null if none. The DefaultProcessor may provides hints for the following keys: Hints.COORDINATE_OPERATION_FACTORYand Hints.JAI_INSTANCE. The result as a coverage. throws: CoverageProcessingException - if the operation can't be applied.
Makes sure that an argument is non-null. This is a convenience method for
implementations in subclasses.
Parameters: name - Argument name. Parameters: object - User argument. throws: IllegalArgumentException - if object is null.
Returns the URL for documentation on the processing operation. If no online documentation
is available the string will be null. The default implementation returns
null .
Returns the
AbstractProcessor instance used for an operation. The instance is fetch
from the rendering hints given to the
AbstractOperation.doOperation method. If no processor is
specified, then a default one is returned.
Parameters: hints - The rendering hints, or null if none. The AbstractProcessor instance in use (never null ).
Returns a string représentation of this operation. The returned string is
implementation dependent. It is usually provided for debugging purposes only.