API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.metadata. IIOMetadata View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      IIOMetadata
Implements
Subclasses
Description
publicabstract abstract class IIOMetadata
  An abstract class to be extended by objects that represent metadata (non-image data) associated with images and streams.
Constructors
protected IIOMetadata ()
  Constructs an empty IIOMetadata object.
protected IIOMetadata (boolean standardMetadataFormatSupported, String nativeMetadataFormatName, String nativeMetadataFormatClassName, String extraMetadataFormatNames, String extraMetadataFormatClassNames)
  Constructs an IIOMetadata object with the given format names and format class names, as well as a boolean indicating whether the standard format is supported.
Methods
Hide/Show inherited methods
public boolean activateController ()
  Activates the installed IIOMetadataController for this IIOMetadata object and returns the resulting value.
publicabstract Node getAsTree (String formatName)
  Returns an XML DOM Node object that represents the root of a tree of metadata contained within this object according to the conventions defined by a given metadata format.
public IIOMetadataController getController ()
  Returns whatever IIOMetadataController is currently installed.
public IIOMetadataController getDefaultController ()
  Returns the default IIOMetadataController, if there is one, regardless of the currently installed controller.
public String getExtraMetadataFormatNames ()
  Returns an array of Strings containing the names of additional metadata formats, other than the native and standard formats, recognized by this plug-in's getAsTree, setFromTree, and mergeTree methods.
public IIOMetadataFormat getMetadataFormat (String formatName)
  Returns an IIOMetadataFormat object describing the given metadata format, or null if no description is available.
public String getMetadataFormatNames ()
  Returns an array of Strings containing the names of all metadata formats, including the native and standard formats, recognized by this plug-in's getAsTree, setFromTree, and mergeTree methods.
public String getNativeMetadataFormatName ()
  Returns the name of the "native" metadata format for this plug-in, which typically allows for lossless encoding and transmission of the metadata stored in the format handled by this plug-in.
protected IIOMetadataNode getStandardChromaNode ()
  Returns an IIOMetadataNode representing the chroma information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protected IIOMetadataNode getStandardCompressionNode ()
  Returns an IIOMetadataNode representing the compression information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protected IIOMetadataNode getStandardDataNode ()
  Returns an IIOMetadataNode representing the data format information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protected IIOMetadataNode getStandardDimensionNode ()
  Returns an IIOMetadataNode representing the dimension information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protected IIOMetadataNode getStandardDocumentNode ()
  Returns an IIOMetadataNode representing the document information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protected IIOMetadataNode getStandardTextNode ()
  Returns an IIOMetadataNode representing the textual information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protected IIOMetadataNode getStandardTileNode ()
  Returns an IIOMetadataNode representing the tiling information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protected IIOMetadataNode getStandardTransparencyNode ()
  Returns an IIOMetadataNode representing the transparency information of the standard javax_imageio_1.0 metadata format, or null if no such information is available.
protectedfinal IIOMetadataNode getStandardTree ()
  A utility method to return a tree of IIOMetadataNodes representing the metadata contained within this object according to the conventions of the standard javax_imageio_1.0 metadata format.
public boolean hasController ()
  Returns true if there is a controller installed for this IIOMetadata object.
publicabstract boolean isReadOnly ()
  Returns true if this object does not support the mergeTree, setFromTree, and reset methods.
public boolean isStandardMetadataFormatSupported ()
  Returns true if the standard metadata format is supported by getMetadataFormat, getAsTree, setFromTree, and mergeTree.
publicabstract void mergeTree (String formatName, Node root) throws IIOInvalidTreeException
  Alters the internal state of this IIOMetadata object from a tree of XML DOM Nodes whose syntax is defined by the given metadata format.
publicabstract void reset ()
  Resets all the data stored in this object to default values, usually to the state this object was in immediately after construction, though the precise semantics are plug-in specific.
public void setController (IIOMetadataController controller)
  Sets the IIOMetadataController to be used to provide settings for this IIOMetadata object when the activateController method is called, overriding any default controller.
public void setFromTree (String formatName, Node root) throws IIOInvalidTreeException
  Sets the internal state of this IIOMetadata object from a tree of XML DOM Nodes whose syntax is defined by the given metadata format.
Fields
Hide/Show inherited fields
protected IIOMetadataController controller
  The IIOMetadataController that will be used to provide settings for this IIOMetadata object when the activateController method is called.
protected IIOMetadataController defaultController
  An IIOMetadataController that is suggested for use as the controller for this IIOMetadata object.
protected String extraMetadataFormatClassNames
An array of names of classes implementing IIOMetadataFormat and representing the metadata formats, other than the standard and native formats, that are supported by this plug-in, initialized to null and set via the constructor.
protected String extraMetadataFormatNames
An array of names of formats, other than the standard and native formats, that are supported by this plug-in, initialized to null and set via the constructor.
protected String nativeMetadataFormatClassName
The name of the class implementing IIOMetadataFormat and representing the native metadata format, initialized to null and set via the constructor.
protected String nativeMetadataFormatName
The name of the native metadata format for this object, initialized to null and set via the constructor.
protected boolean standardFormatSupported
A boolean indicating whether the concrete subclass supports the standard metadata format, set via the constructor.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar