|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.resources.DescriptorNaming
Methods for binding names to ParameterListDescriptor
s. For example,
Projection
using this class for binding classification
name to parameter list descriptors.
Field Summary | |
static DescriptorNaming |
PROJECTIONS
Deprecated. The naming to use for mapping projection's classification name to parameter descriptor. |
Method Summary | |
void |
bind(java.lang.String classification,
javax.media.jai.ParameterListDescriptor descriptor)
Deprecated. Binds a classification name to a parameter list descriptor. |
static boolean |
equals(javax.media.jai.ParameterListDescriptor d1,
javax.media.jai.ParameterListDescriptor d2)
Deprecated. Checks if two ParameterListDescriptor are equal. |
static boolean |
equals(javax.media.jai.ParameterList p1,
javax.media.jai.ParameterList p2)
Deprecated. Checks if two ParameterList are equal. |
javax.media.jai.ParameterList |
getParameterList(java.lang.String classification,
javax.media.jai.ParameterListDescriptor fallback)
Deprecated. Returns a parameter list for the specified classification. |
static Unit |
getParameterUnit(java.lang.String name)
Deprecated. Returns the unit for the specified parameter. |
java.lang.String[] |
list()
Deprecated. Returns the list of classification names. |
javax.media.jai.ParameterListDescriptor |
lookup(java.lang.String classification)
Deprecated. Returns a default parameter descriptor for the specified classification name, or null if none is found. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final DescriptorNaming PROJECTIONS
Method Detail |
public void bind(java.lang.String classification, javax.media.jai.ParameterListDescriptor descriptor) throws java.lang.IllegalArgumentException
classification
- The classification name.descriptor
- the parameter list descriptor.
java.lang.IllegalArgumentException
- if a descriptor is already
bounds for the specified classification name.public javax.media.jai.ParameterListDescriptor lookup(java.lang.String classification)
null
if none is found.
classification
- The classification to look for.
null
if none.public javax.media.jai.ParameterList getParameterList(java.lang.String classification, javax.media.jai.ParameterListDescriptor fallback)
classification
- The classification to look for.fallback
- The default parameter list descriptor to use if no
descriptor has been found for the specified classification.
public java.lang.String[] list()
public static boolean equals(javax.media.jai.ParameterListDescriptor d1, javax.media.jai.ParameterListDescriptor d2)
ParameterListDescriptor
are equal. This method is
a workaround, because the default ParameterListDescriptor
do not
overrides Object.equals(java.lang.Object)
.
public static boolean equals(javax.media.jai.ParameterList p1, javax.media.jai.ParameterList p2)
ParameterList
are equal. This method is
a workaround, because the default ParameterList
do not
overrides Object.equals(java.lang.Object)
.
public static Unit getParameterUnit(java.lang.String name)
Unit.METRE
. Other linear units are not authorized.Unit.DEGREE
. Other angular units are not authorized.Unit.DIMENSIONLESS
or
null
.
name
- The parameter name.
null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |