org.libtiff.jai.operator
Class XTIFFDescriptor

java.lang.Object
  extended by javax.media.jai.OperationDescriptorImpl
      extended by org.libtiff.jai.operator.XTIFFDescriptor
All Implemented Interfaces:
java.awt.image.renderable.RenderedImageFactory, java.io.Serializable, javax.media.jai.OperationDescriptor, javax.media.jai.RegistryElementDescriptor
Direct Known Subclasses:
GeoTIFFDescriptor

public class XTIFFDescriptor
extends javax.media.jai.OperationDescriptorImpl
implements java.awt.image.renderable.RenderedImageFactory

XTIFFDescriptor: A single class that is both an OperationDescriptor and a RenderedImageFactory for overriding the JAI "tiff" operation.

See Also:
XTIFFDirectory, XTIFFTileCodecImpl, Serialized Form

Field Summary
 
Fields inherited from interface javax.media.jai.OperationDescriptor
NO_PARAMETER_DEFAULT
 
Constructor Summary
XTIFFDescriptor()
          Standard public constructor
 
Method Summary
 java.awt.image.RenderedImage create(java.awt.image.renderable.ParameterBlock paramBlock, java.awt.RenderingHints renderHints)
          Create an XTIFFImage with the given ParameterBlock if the XTIFFImage can handle the particular ParameterBlock.
static void register()
          A convenience method for registering the default XTIFF methods into JAI.
static void register(XTIFFDescriptor odesc)
          A convenience method for registering XTIFF methods into JAI, for extended classes of XTIFFDescriptor.
 
Methods inherited from class javax.media.jai.OperationDescriptorImpl
arePropertiesSupported, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderableSupported, isRenderedSupported, validateArguments, validateArguments, validateRenderableArguments
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTIFFDescriptor

public XTIFFDescriptor()
Standard public constructor

Method Detail

create

public java.awt.image.RenderedImage create(java.awt.image.renderable.ParameterBlock paramBlock,
                                           java.awt.RenderingHints renderHints)
Create an XTIFFImage with the given ParameterBlock if the XTIFFImage can handle the particular ParameterBlock. Otherwise, null image is returned.

Specified by:
create in interface java.awt.image.renderable.RenderedImageFactory

register

public static void register(XTIFFDescriptor odesc)
A convenience method for registering XTIFF methods into JAI, for extended classes of XTIFFDescriptor.


register

public static void register()
A convenience method for registering the default XTIFF methods into JAI.