Top Fields Constructors Methods
com.sun.imageio.plugins.bmp

public Class BMPMetadataFormat

extends IIOMetadataFormatImpl
Class Inheritance
Imports
java.util.Arrays, javax.imageio.ImageTypeSpecifier, javax.imageio.metadata.IIOMetadataFormat, .IIOMetadataFormatImpl

Field Summary

Modifier and TypeField and Description
private static IIOMetadataFormat
Inherited from javax.imageio.metadata.IIOMetadataFormatImpl:
standardMetadataFormatName

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
canNodeAppear(String
the name of the element being queried.
elementName
,
ImageTypeSpecifier
an ImageTypeSpecifier indicating the type of the image that will be associated with the metadata.
imageType
)

Implements abstract javax.imageio.metadata.IIOMetadataFormatImpl.canNodeAppear.

Implements javax.imageio.metadata.IIOMetadataFormat.canNodeAppear.

Returns true if the element (and the subtree below it) is allowed to appear in a metadata document for an image of the given type, defined by an ImageTypeSpecifier.
public static synchronized IIOMetadataFormat
Inherited from javax.imageio.metadata.IIOMetadataFormatImpl:
addAttributeaddAttributeaddAttributeaddAttributeaddBooleanAttributeaddChildElementaddElementaddElementaddObjectValueaddObjectValueaddObjectValueaddObjectValuegetAttributeDataTypegetAttributeDefaultValuegetAttributeDescriptiongetAttributeEnumerationsgetAttributeListMaxLengthgetAttributeListMinLengthgetAttributeMaxValuegetAttributeMinValuegetAttributeNamesgetAttributeValueTypegetChildNamesgetChildPolicygetElementDescriptiongetElementMaxChildrengetElementMinChildrengetObjectArrayMaxLengthgetObjectArrayMinLengthgetObjectClassgetObjectDefaultValuegetObjectEnumerationsgetObjectMaxValuegetObjectMinValuegetObjectValueTypegetResourceBaseNamegetRootNamegetStandardFormatInstanceisAttributeRequiredremoveAttributeremoveElementremoveObjectValuesetResourceBaseName

Field Detail

instanceback to summary
private static IIOMetadataFormat instance

Constructor Detail

BMPMetadataFormatback to summary
private BMPMetadataFormat()

Method Detail

canNodeAppearback to summary
public boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType)

Implements abstract javax.imageio.metadata.IIOMetadataFormatImpl.canNodeAppear.

Implements javax.imageio.metadata.IIOMetadataFormat.canNodeAppear.

Doc from javax.imageio.metadata.IIOMetadataFormat.canNodeAppear.

Returns true if the element (and the subtree below it) is allowed to appear in a metadata document for an image of the given type, defined by an ImageTypeSpecifier. For example, a metadata document format might contain an element that describes the primary colors of the image, which would not be allowed when writing a grayscale image.

Parameters
elementName:String

the name of the element being queried.

imageType:ImageTypeSpecifier

an ImageTypeSpecifier indicating the type of the image that will be associated with the metadata.

Returns:boolean

true if the node is meaningful for images of the given type.

getInstanceback to summary
public static synchronized IIOMetadataFormat getInstance()