/** * Constructs a parameter descriptor wrapping the specified JAI operation, including sources. * The properties map is given unchanged to the {@linkplain * AbstractIdentifiedObject#AbstractIdentifiedObject(Map) super-class constructor}. * * @param properties Set of properties. Should contains at least {@code "name"}. * @param operation The JAI's operation descriptor, usually as an instance of {@link * OperationDescriptor}. * @param sourceTypeMap Mapping from JAI source type to this group source type. Typically a * singleton with the (<code>{@linkplain RenderedImage}.class</code>, <code> * {@linkplain GridCoverage}.class</code>) key-value pair. * @param registryMode The JAI's registry mode (usually {@value * javax.media.jai.registry.RenderedRegistryMode#MODE_NAME}). * @deprecated Replaced by {@link #ImagingParameterDescriptors(Map, * RegistryElementDescriptor,String,Map,Collection}. */ public ImagingParameterDescriptors( final Map<String, ?> properties, final RegistryElementDescriptor operation, final Map<Class<?>, Class<?>> sourceTypeMap, final String registryMode) { this( properties, operation.getParameterListDescriptor(registryMode), operation, registryMode, sourceTypeMap, null); }
this( properties, operation.getParameterListDescriptor(registryMode), operation, registryMode,
descriptor = (RegistryElementDescriptor)it.next(); descriptorNode = new NamedTreeNode(getName(descriptor, locale), descriptor); param = descriptor.getParameterListDescriptor(mode); if (param != null) { final String[] names = param.getParamNames();
mode = operation.getRegistryModeName(); element = operation.getRegistry().getDescriptor(mode, name); param = element.getParameterListDescriptor(mode);
final String mode = operation.getRegistryModeName(); descriptor = operation.getRegistry().getDescriptor(mode, name) .getParameterListDescriptor(mode);