|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.referencing.wkt.Formattable
org.geotools.parameter.AbstractParameter
org.geotools.parameter.ImagingParameters
public class ImagingParameters
Wraps a JAI's ParameterList
. Any change to a parameter value
in this group is reflected into the underlying parameter list, and
conversely. This adaptor is provided for interoperability with
Java Advanced Imaging.
A typical usage is to wrap a JAI operation descriptor into an
imaging parameter descriptor and create instances of
ImagingParameters
through the createValue
method.
Field Summary | |
---|---|
javax.media.jai.ParameterList |
parameters
The JAI's parameter list. |
Fields inherited from class org.geotools.referencing.wkt.Formattable |
---|
SINGLE_LINE |
Constructor Summary | |
---|---|
ImagingParameters(ImagingParameterDescriptors descriptor)
Constructs a parameter group for the specified descriptor. |
|
ImagingParameters(java.util.Map<java.lang.String,?> properties,
javax.media.jai.ParameterList parameters)
Constructs a parameter group wrapping the specified JAI parameters. |
Method Summary | |
---|---|
org.opengis.parameter.ParameterValueGroup |
addGroup(java.lang.String name)
Always throws an exception, since JAI's parameter list don't have subgroups. |
ImagingParameters |
clone()
Returns a deep copy of this group of parameter values. |
boolean |
equals(java.lang.Object object)
Compares the specified object with this parameter group for equality. |
org.opengis.parameter.ParameterDescriptorGroup |
getDescriptor()
Returns the abstract definition of this parameter. |
java.util.List<org.opengis.parameter.ParameterValueGroup> |
groups(java.lang.String name)
Always throws an exception, since JAI's parameter list don't have subgroups. |
int |
hashCode()
Returns a hash value for this parameter group. |
org.opengis.parameter.ParameterValue |
parameter(java.lang.String name)
Returns the value in this group for the specified identifier code. |
java.util.List<org.opengis.parameter.GeneralParameterValue> |
values()
Returns all values in this group as an unmodifiable list. |
Methods inherited from class org.geotools.parameter.AbstractParameter |
---|
formatWKT, toString, write |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
---|
cleanupThreadLocals, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final javax.media.jai.ParameterList parameters
If the JAI descriptor is an instance
of OperationDescriptor
, then this parameter list is also an instance of
ParameterBlockJAI
. The sources
must be handled separatly, because the source type for a JAI operator (typically
RenderedImage
) is not the same than the source type for a
coverage operation (typically org.opengis.coverage.GridCoverage
).
Constructor Detail |
---|
public ImagingParameters(ImagingParameterDescriptors descriptor)
descriptor
- The descriptor for this group of parameters.public ImagingParameters(java.util.Map<java.lang.String,?> properties, javax.media.jai.ParameterList parameters)
ImagingParameterDescriptors
is created.
properties
- Set of properties. Should contains at least "name"
.parameters
- The JAI's parameters.Method Detail |
---|
public org.opengis.parameter.ParameterDescriptorGroup getDescriptor()
getDescriptor
in interface org.opengis.parameter.GeneralParameterValue
getDescriptor
in interface org.opengis.parameter.ParameterValueGroup
getDescriptor
in class AbstractParameter
public java.util.List<org.opengis.parameter.GeneralParameterValue> values()
values
in interface org.opengis.parameter.ParameterValueGroup
public org.opengis.parameter.ParameterValue parameter(java.lang.String name) throws org.opengis.parameter.ParameterNotFoundException
parameter
in interface org.opengis.parameter.ParameterValueGroup
name
- The case insensitive identifier code of the parameter to search for.
org.opengis.parameter.ParameterNotFoundException
- if there is no parameter value for the given identifier code.public java.util.List<org.opengis.parameter.ParameterValueGroup> groups(java.lang.String name) throws org.opengis.parameter.ParameterNotFoundException
groups
in interface org.opengis.parameter.ParameterValueGroup
org.opengis.parameter.ParameterNotFoundException
public org.opengis.parameter.ParameterValueGroup addGroup(java.lang.String name) throws org.opengis.parameter.ParameterNotFoundException
addGroup
in interface org.opengis.parameter.ParameterValueGroup
org.opengis.parameter.ParameterNotFoundException
public boolean equals(java.lang.Object object)
equals
in class AbstractParameter
object
- The object to compare to this
.
true
if both objects are equal.public int hashCode()
hashCode
in class AbstractParameter
public ImagingParameters clone()
clone
in interface org.opengis.parameter.GeneralParameterValue
clone
in interface org.opengis.parameter.ParameterValueGroup
clone
in class AbstractParameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |