| java.lang.Object javax.media.jai.registry.RCIFRegistry
RCIFRegistry | final public class RCIFRegistry (Code) | | Utility class to provide type-safe interaction
with the OperationRegistry for
RenderableCollectionImageFactory objects.
If the OperationRegistry is null , then
JAI.getDefaultInstance().getOperationRegistry() will be used.
See Also: CollectionImage since: JAI 1.1 |
create | public static CollectionImage create(OperationRegistry registry, String operationName, ParameterBlock paramBlock)(Code) | | Creates a renderable CollectionImage given
a ParameterBlock containing the operation's sources and
parameters. The registry is used to determine the RCIF to be
used to instantiate the operation.
Parameters: registry - the OperationRegistry to use.if this is null , then JAI.getDefaultInstance().getOperationRegistry() will be used. Parameters: operationName - the operation name as a String Parameters: paramBlock - the operation's ParameterBlock. throws: IllegalArgumentException - if operationName is null throws: IllegalArgumentException - if there is no OperationDescriptor registered againstthe operationName |
get | public static RenderableCollectionImageFactory get(OperationRegistry registry, String operationName)(Code) | | Returns the RenderableCollectionImageFactory object
registered against the operation name.
Parameters: registry - the OperationRegistry to use.if this is null , then JAI.getDefaultInstance().getOperationRegistry() will be used. Parameters: operationName - the operation name as a String a registered RenderableCollectionImageFactory object throws: IllegalArgumentException - if operationName is null throws: IllegalArgumentException - if there is no OperationDescriptor registered againstthe operationName |
getPropertySource | public static PropertySource getPropertySource(CollectionOp op)(Code) | | Constructs and returns a PropertySource suitable for
use by a given CollectionOp . The
PropertySource includes properties copied from prior
nodes as well as those generated at the node itself. Additionally,
property suppression is taken into account. The actual implementation
of getPropertySource() may make use of deferred
execution and caching.
Parameters: op - the CollectionOp requesting its PropertySource . throws: IllegalArgumentException - if op is null throws: IllegalArgumentException - if op.isRenderable() returns false |
register | public static void register(OperationRegistry registry, String operationName, RenderableCollectionImageFactory rcif)(Code) | | Register a RCIF with a particular operation against a specified
mode.
Parameters: registry - the OperationRegistry to register with.if this is null , then JAI.getDefaultInstance().getOperationRegistry() will be used. Parameters: operationName - the operation name as a String Parameters: rcif - the RenderableCollectionImageFactory to be registered throws: IllegalArgumentException - if operationName or rcif isnull throws: IllegalArgumentException - if there is no OperationDescriptor registered againstthe operationName |
unregister | public static void unregister(OperationRegistry registry, String operationName, RenderableCollectionImageFactory rcif)(Code) | | Unregister a RCIF previously registered with a operation against
the specified mode.
Parameters: registry - the OperationRegistry to unregister from.if this is null , then JAI.getDefaultInstance().getOperationRegistry() will be used. Parameters: operationName - the operation name as a String Parameters: rcif - the RenderableCollectionImageFactory to be unregistered throws: IllegalArgumentException - if operationName or rcif isnull throws: IllegalArgumentException - if there is no OperationDescriptor registered againstthe operationName throws: IllegalArgumentException - if the rcif was not previouslyregistered against operationName |
|
|