FileDocCategorySizeDatePackage
WBMPMetadataFormat.javaAPI DocJava SE 5 API1563Fri Aug 26 14:54:44 BST 2005com.sun.imageio.plugins.wbmp

WBMPMetadataFormat

public class WBMPMetadataFormat extends IIOMetadataFormatImpl

Fields Summary
private static IIOMetadataFormat
instance
Constructors Summary
private WBMPMetadataFormat()


      
        super(WBMPMetadata.nativeMetadataFormatName,
              CHILD_POLICY_SOME);

        // root -> ImageDescriptor
        addElement("ImageDescriptor",
                   WBMPMetadata.nativeMetadataFormatName,
                   CHILD_POLICY_EMPTY);

        addAttribute("ImageDescriptor", "WBMPType",
                     DATATYPE_INTEGER, true, "0");

        addAttribute("ImageDescriptor", "Width",
                     DATATYPE_INTEGER, true, null,
                     "0", "65535", true, true);
        addAttribute("ImageDescriptor", "Height",
                     DATATYPE_INTEGER, true, null,
                     "1", "65535", true, true);
    
Methods Summary
public booleancanNodeAppear(java.lang.String elementName, javax.imageio.ImageTypeSpecifier imageType)

        return true;
    
public static synchronized javax.imageio.metadata.IIOMetadataFormatgetInstance()

        if (instance == null) {
            instance = new WBMPMetadataFormat();
        }
        return instance;