Class PSDMetadataFormat

  • All Implemented Interfaces:
    javax.imageio.metadata.IIOMetadataFormat

    public final class PSDMetadataFormat
    extends javax.imageio.metadata.IIOMetadataFormatImpl
    PSDMetadataFormat
    Version:
    $Id: PSDMetadataFormat.java,v 1.0 Nov 4, 2009 5:27:53 PM haraldk Exp$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static PSDMetadataFormat instance  
      (package private) static java.util.List<java.lang.String> PSD_BLEND_MODES  
      • Fields inherited from class javax.imageio.metadata.IIOMetadataFormatImpl

        standardMetadataFormatName
      • Fields inherited from interface javax.imageio.metadata.IIOMetadataFormat

        CHILD_POLICY_ALL, CHILD_POLICY_CHOICE, CHILD_POLICY_EMPTY, CHILD_POLICY_MAX, CHILD_POLICY_REPEAT, CHILD_POLICY_SEQUENCE, CHILD_POLICY_SOME, DATATYPE_BOOLEAN, DATATYPE_DOUBLE, DATATYPE_FLOAT, DATATYPE_INTEGER, DATATYPE_STRING, VALUE_ARBITRARY, VALUE_ENUMERATION, VALUE_LIST, VALUE_NONE, VALUE_RANGE, VALUE_RANGE_MAX_INCLUSIVE, VALUE_RANGE_MAX_INCLUSIVE_MASK, VALUE_RANGE_MIN_INCLUSIVE, VALUE_RANGE_MIN_INCLUSIVE_MASK, VALUE_RANGE_MIN_MAX_INCLUSIVE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PSDMetadataFormat()
      Private constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static <T> java.util.List<T> asListNoNulls​(T[] values)  
      boolean canNodeAppear​(java.lang.String elementName, javax.imageio.ImageTypeSpecifier imageType)  
      static PSDMetadataFormat getInstance()
      Returns the shared instance of the PSDMetadataFormat.
      • Methods inherited from class javax.imageio.metadata.IIOMetadataFormatImpl

        addAttribute, addAttribute, addAttribute, addAttribute, addBooleanAttribute, addChildElement, addElement, addElement, addObjectValue, addObjectValue, addObjectValue, addObjectValue, getAttributeDataType, getAttributeDefaultValue, getAttributeDescription, getAttributeEnumerations, getAttributeListMaxLength, getAttributeListMinLength, getAttributeMaxValue, getAttributeMinValue, getAttributeNames, getAttributeValueType, getChildNames, getChildPolicy, getElementDescription, getElementMaxChildren, getElementMinChildren, getObjectArrayMaxLength, getObjectArrayMinLength, getObjectClass, getObjectDefaultValue, getObjectEnumerations, getObjectMaxValue, getObjectMinValue, getObjectValueType, getResourceBaseName, getRootName, getStandardFormatInstance, isAttributeRequired, removeAttribute, removeElement, removeObjectValue, setResourceBaseName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PSD_BLEND_MODES

        static final java.util.List<java.lang.String> PSD_BLEND_MODES
    • Constructor Detail

      • PSDMetadataFormat

        private PSDMetadataFormat()
        Private constructor.

        The IIOMetadata class will instantiate this class by reflection, invoking the static getInstance() method.

        See Also:
        IIOMetadata.getMetadataFormat(java.lang.String), getInstance()
    • Method Detail

      • asListNoNulls

        private static <T> java.util.List<T> asListNoNulls​(T[] values)
      • canNodeAppear

        public boolean canNodeAppear​(java.lang.String elementName,
                                     javax.imageio.ImageTypeSpecifier imageType)
        Specified by:
        canNodeAppear in interface javax.imageio.metadata.IIOMetadataFormat
        Specified by:
        canNodeAppear in class javax.imageio.metadata.IIOMetadataFormatImpl
      • getInstance

        public static PSDMetadataFormat getInstance()
        Returns the shared instance of the PSDMetadataFormat.
        Returns:
        the shared instance.
        See Also:
        IIOMetadata.getMetadataFormat(java.lang.String)