Enum IPTCObjectDataTag

java.lang.Object
java.lang.Enum<IPTCObjectDataTag>
pixy.meta.iptc.IPTCObjectDataTag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IPTCObjectDataTag>, java.lang.constant.Constable, IPTCTag

public enum IPTCObjectDataTag
extends java.lang.Enum<IPTCObjectDataTag>
implements IPTCTag
Defines DataSet tags for IPTC ObjectData Record - Record number 8. *
Version:
1.0 03/13/2015
Author:
Wen Yu, yuwen_66@yahoo.com
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    SUB_FILE  
    UNKNOWN  
  • Field Summary

    Fields inherited from interface pixy.meta.iptc.IPTCTag

    MAX_STRING_REPR_LEN
  • Method Summary

    Modifier and Type Method Description
    boolean allowMultiple()  
    static IPTCObjectDataTag fromTag​(int value)  
    java.lang.String getDataAsString​(byte[] data)  
    java.lang.String getName()  
    int getRecordNumber()  
    int getTag()  
    java.lang.String toString()  
    static IPTCObjectDataTag valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static IPTCObjectDataTag[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static IPTCObjectDataTag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IPTCObjectDataTag valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • fromTag

      public static IPTCObjectDataTag fromTag​(int value)
    • allowMultiple

      public boolean allowMultiple()
      Specified by:
      allowMultiple in interface IPTCTag
    • getDataAsString

      public java.lang.String getDataAsString​(byte[] data)
      Specified by:
      getDataAsString in interface IPTCTag
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface IPTCTag
    • getRecordNumber

      public int getRecordNumber()
      Specified by:
      getRecordNumber in interface IPTCTag
    • getTag

      public int getTag()
      Specified by:
      getTag in interface IPTCTag
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Enum<IPTCObjectDataTag>