| org.geotools.parameter.AbstractParameter org.geotools.parameter.ImagingParameters
ImagingParameters | public class ImagingParameters extends AbstractParameter implements ParameterValueGroup(Code) | | Wraps a JAI's
ParameterList . Any change to a
in this group is reflected into the
, and
conversely. This adaptor is provided for interoperability with
Java Advanced Imaging.
A typical usage is to wrap a JAI
into an
and create instances of
ImagingParameters through the
ImagingParameterDescriptors.createValue createValue method.
since: 2.2 version: $Id: ImagingParameters.java 26799 2007-08-31 21:31:21Z desruisseaux $ author: Martin Desruisseaux |
Field Summary | |
final public ParameterList | parameters The JAI's parameter list. |
Method Summary | |
public ParameterValueGroup | addGroup(String name) Always throws an exception, since JAI's
don't have subgroups. | public synchronized Object | clone() Returns a deep copy of this group of parameter values. | public boolean | equals(Object object) Compares the specified object with this parameter group for equality. | public List | groups(String name) Always throws an exception, since JAI's
don't have subgroups. | public int | hashCode() Returns a hash value for this parameter group. | public synchronized ParameterValue | parameter(String name) Returns the value in this group for the specified identifier code. | public synchronized List | values() Returns all values in this group as an unmodifiable list. |
parameters | final public ParameterList parameters(Code) | | The JAI's parameter list. This is also the backing store for this
: all "ordinary" parameters
(i.e. not including
)
are actually stored in this list.
If the
is an instance
of
OperationDescriptor , then this parameter list is also an instance of
ParameterBlockJAI . The
must be handled separatly, because the source type for a JAI operator (typically
java.awt.image.RenderedImage ) is not the same than the source type for a
coverage operation (typically
org.opengis.coverage.GridCoverage ).
|
ImagingParameters | public ImagingParameters(Map properties, ParameterList parameters)(Code) | | Constructs a parameter group wrapping the specified JAI parameters.
A default
ImagingParameterDescriptors is created.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: parameters - The JAI's parameters. |
addGroup | public ParameterValueGroup addGroup(String name) throws ParameterNotFoundException, IllegalStateException(Code) | | Always throws an exception, since JAI's
don't have subgroups.
|
clone | public synchronized Object clone()(Code) | | Returns a deep copy of this group of parameter values.
|
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this parameter group for equality.
|
groups | public List groups(String name) throws ParameterNotFoundException(Code) | | Always throws an exception, since JAI's
don't have subgroups.
|
hashCode | public int hashCode()(Code) | | Returns a hash value for this parameter group. This value doesn't need
to be the same in past or future versions of this class.
|
parameter | public synchronized ParameterValue parameter(String name) throws ParameterNotFoundException(Code) | | Returns the value in this group for the specified identifier code. Getter and setter methods
will use directly the JAI's
as the underlying backing
store, when applicable.
Parameters: name - The case insensitive identifier code of the parameter to search for. The parameter value for the given identifier code. throws: ParameterNotFoundException - if there is no parameter value for the given identifier code. |
values | public synchronized List values()(Code) | | Returns all values in this group as an unmodifiable list. The returned list contains all
parameters found in the
. In addition, it
may contains sources found in the JAI's
.
|
Fields inherited from org.geotools.parameter.AbstractParameter | final GeneralParameterDescriptor descriptor(Code)(Java Doc)
|
|
|