APIdia Launch Partner
Top Fields Constructors Methods
com.sun.imageio.plugins.tiff

public Class TIFFStreamMetadata

extends IIOMetadata
Class Inheritance
Imports
java.nio.ByteOrder, javax.imageio.metadata.IIOMetadata, .IIOMetadataNode, .IIOInvalidTreeException, org.w3c.dom.NamedNodeMap, .Node

Field Summary

Modifier and TypeField and Description
private static final String
public ByteOrder
private static final String
pack-priv static final String
pack-priv static final String
Inherited from javax.imageio.metadata.IIOMetadata:
controllerdefaultControllerextraMetadataFormatClassNamesextraMetadataFormatNamesnativeMetadataFormatClassNamenativeMetadataFormatNamestandardFormatSupported

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
fatal(Node node, String reason)

public Node
getAsTree(String formatName)

Implements abstract javax.imageio.metadata.IIOMetadata.getAsTree.

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 boolean
isReadOnly()

Implements abstract javax.imageio.metadata.IIOMetadata.isReadOnly.

Returns true if this object does not support the mergeTree, setFromTree, and reset methods.

private void
public void
mergeTree(String formatName, Node root)

Implements abstract javax.imageio.metadata.IIOMetadata.mergeTree.

Alters the internal state of this IIOMetadata object from a tree of XML DOM Nodes whose syntax is defined by the given metadata format.

public void
reset()

Implements abstract javax.imageio.metadata.IIOMetadata.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.

Inherited from javax.imageio.metadata.IIOMetadata:
activateControllergetControllergetDefaultControllergetExtraMetadataFormatNamesgetMetadataFormatgetMetadataFormatNamesgetNativeMetadataFormatNamegetStandardChromaNodegetStandardCompressionNodegetStandardDataNodegetStandardDimensionNodegetStandardDocumentNodegetStandardTextNodegetStandardTileNodegetStandardTransparencyNodegetStandardTreehasControllerisStandardMetadataFormatSupportedsetControllersetFromTree

Field Detail

bigEndianStringback to summary
private static final String bigEndianString
byteOrderback to summary
public ByteOrder byteOrder
littleEndianStringback to summary
private static final String littleEndianString
NATIVE_METADATA_FORMAT_CLASS_NAMEback to summary
pack-priv static final String NATIVE_METADATA_FORMAT_CLASS_NAME
NATIVE_METADATA_FORMAT_NAMEback to summary
pack-priv static final String NATIVE_METADATA_FORMAT_NAME

Constructor Detail

TIFFStreamMetadataback to summary
public TIFFStreamMetadata()

Method Detail

fatalback to summary
private static void fatal(Node node, String reason) throws IIOInvalidTreeException
getAsTreeback to summary
public Node getAsTree(String formatName)

Implements abstract javax.imageio.metadata.IIOMetadata.getAsTree.

Doc from javax.imageio.metadata.IIOMetadata.getAsTree.

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.

The names of the available metadata formats may be queried using the getMetadataFormatNames method.

Annotations
@Override
isReadOnlyback to summary
public boolean isReadOnly()

Implements abstract javax.imageio.metadata.IIOMetadata.isReadOnly.

Doc from javax.imageio.metadata.IIOMetadata.isReadOnly.

Returns true if this object does not support the mergeTree, setFromTree, and reset methods.

Annotations
@Override
mergeNativeTreeback to summary
private void mergeNativeTree(Node root) throws IIOInvalidTreeException
mergeTreeback to summary
public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException

Implements abstract javax.imageio.metadata.IIOMetadata.mergeTree.

Doc from javax.imageio.metadata.IIOMetadata.mergeTree.

Alters the internal state of this IIOMetadata object from a tree of XML DOM Nodes whose syntax is defined by the given metadata format. The previous state is altered only as necessary to accommodate the nodes that are present in the given tree. If the tree structure or contents are invalid, an IIOInvalidTreeException will be thrown.

As the semantics of how a tree or subtree may be merged with another tree are completely format-specific, plug-in authors may implement this method in whatever manner is most appropriate for the format, including simply replacing all existing state with the contents of the given tree.

Annotations
@Override
Exceptions
IIOInvalidTreeException:
if the tree cannot be parsed successfully using the rules of the given format.
resetback to summary
public void reset()

Implements abstract javax.imageio.metadata.IIOMetadata.reset.

Doc from javax.imageio.metadata.IIOMetadata.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. Note that there are many possible default values, depending on how the object was created.

Annotations
@Override