Class TiffSchema


public class TiffSchema extends XMPSchema
  • Field Details

  • Constructor Details

  • Method Details

    • getArtistProperty

      public ProperNameType getArtistProperty()
      Return the artist property
      Returns:
      artist ProperNameType
    • getArtist

      public String getArtist()
      Return the Artist property as String
      Returns:
      the Artist property
    • setArtist

      public void setArtist(String text)
      Set the name of the artist
      Parameters:
      text - the name of the artist
    • getImageDescriptionProperty

      public ArrayProperty getImageDescriptionProperty()
      Return the ImageDescription property object.
      Returns:
      the ImageDescription property.
    • getImageDescriptionLanguages

      public List<String> getImageDescriptionLanguages() throws BadFieldValueException
      Return the list of language existing for the ImageDescription property.
      Returns:
      a list of languages or null if it doesn't exist.
      Throws:
      BadFieldValueException - If the ImageDescription property is not a multi-lingual property.
    • getImageDescription

      public String getImageDescription(String lang) throws BadFieldValueException
      Return the ImageDescription property value as String in a specified language.
      Parameters:
      lang - The expected language.
      Returns:
      The ImageDescription property value or null if it doesn't exist.
      Throws:
      BadFieldValueException - If the ImageDescription property is not a multi-lingual property.
    • getImageDescription

      public String getImageDescription() throws BadFieldValueException
      Return the ImageDescription property as String in the default language.
      Returns:
      the ImageDescription value or null if it doesn't exist.
      Throws:
      BadFieldValueException - If the ImageDescription property is not a multi-lingual property.
    • addImageDescription

      public void addImageDescription(String lang, String value)
      Add an ImageDescription value for a specified language.
      Parameters:
      lang - language of the ImageDescription property.
      value - image description text
    • getCopyrightProperty

      public ArrayProperty getCopyrightProperty()
      Return the Copyright property object
      Returns:
      the Copyright property
    • getCopyrightLanguages

      public List<String> getCopyrightLanguages() throws BadFieldValueException
      Return the list of language existing for the Copyright property.
      Returns:
      a list of languages or null if it doesn't exist.
      Throws:
      BadFieldValueException - If the Copyright property is not a multi-lingual property
    • getCopyright

      public String getCopyright(String lang) throws BadFieldValueException
      Return the Copyright value as String in expected language
      Parameters:
      lang - expected language
      Returns:
      copyright value or null if it doesn't exist.
      Throws:
      BadFieldValueException - If the Copyright property is not a multi-lingual property
    • getCopyright

      public String getCopyright() throws BadFieldValueException
      Return the Copyright property value as String in default language
      Returns:
      The Copyright property value or null if it doesn't exist.
      Throws:
      BadFieldValueException - If the Copyright property is not a multi-lingual property
    • addCopyright

      public void addCopyright(String lang, String value)
      Add a Copyright property value for a specified language
      Parameters:
      lang - language of the copyright
      value - copyright text