|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for all JAI descriptors that register themselves
with the OperationRegistry
. Examples include
OperationDescriptor
, TileCodecDescriptor
,
RemoteDescriptor
etc.
OperationRegistry
,
RegistryMode
Method Summary | |
boolean |
arePropertiesSupported()
Whether this descriptor supports JAI properties. |
String |
getName()
The name this descriptor will be registered under in the OperationRegistry . |
ParameterListDescriptor |
getParameterListDescriptor(String modeName)
Returns the ParameterListDescriptor that describes
the associated parameters (not sources). |
PropertyGenerator[] |
getPropertyGenerators(String modeName)
Returns an array of PropertyGenerator s implementing
the property inheritance for this descriptor. |
String[] |
getSupportedModes()
The registry modes supported by this descriptor. |
boolean |
isModeSupported(String modeName)
Whether this descriptor supports the specified registry mode. |
Method Detail |
public String getName()
OperationRegistry
. Individual descriptors
implementing this interface will define what this name means
in their space. For example this would be "operation name" for
OperationDescriptor
and "format name" for
TileCodecDescriptor
etc. The descriptor
names are to be treated in a case-insensitive (but retentive) manner.public String[] getSupportedModes()
RegistryMode.getModes()
.String
s specifying the supported modes.RegistryMode
public boolean isModeSupported(String modeName)
modeName
s are to be treated in a case-insensitive
(but retentive) manner.modeName
- the registry mode namemodeName
is nullpublic boolean arePropertiesSupported()
true
, if the implementation of this descriptor
supports JAI properties. false
otherwise.PropertyGenerator
public PropertyGenerator[] getPropertyGenerators(String modeName)
PropertyGenerator
s implementing
the property inheritance for this descriptor. They may be used
as a basis for the descriptor's property management.modeName
- the registry mode namePropertyGenerator
s, or
null
if this operation does not have any of
its own PropertyGenerator
s.modeName
is null
or if it is not one of the supported modes.arePropertiesSupported()
returns false
public ParameterListDescriptor getParameterListDescriptor(String modeName)
ParameterListDescriptor
that describes
the associated parameters (not sources). This method returns
null if the specified modeName does not support parameters.
If the specified modeName supports parameters but the
implementing class does not have parameters, then this method
returns a non-null ParameterListDescriptor
whose
getNumParameters()
returns 0.modeName
- the registry mode name.modeName
is null
or if it is not one of the supported modes.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |