Module jonix.common

Class JonixMediaFile

java.lang.Object
com.tectonica.jonix.common.struct.JonixMediaFile
All Implemented Interfaces:
JonixKeyedStruct<ImageAudioVideoFileTypes>, JonixStruct, Serializable

public class JonixMediaFile extends Object implements JonixKeyedStruct<ImageAudioVideoFileTypes>, Serializable
This class is a JonixStruct that represents Onix2 <MediaFile>.

It can be retrieved from the composite by invoking its asStruct() method.

See Also:
  • Field Details

    • EMPTY

      public static final JonixMediaFile EMPTY
    • mediaFileTypeCode

      public ImageAudioVideoFileTypes mediaFileTypeCode
      the key of this struct (by which it can be looked up)
    • mediaFileFormatCode

      public ImageAudioVideoFileFormats mediaFileFormatCode
    • imageResolution

      public String imageResolution
      Raw Format: Variable-length integer, suggested maximum length 6 digits

      (type: NonEmptyString)

    • mediaFileLinkTypeCode

      public ImageAudioVideoFileLinkTypes mediaFileLinkTypeCode
    • textWithDownload

      public String textWithDownload
      Raw Format: Variable-length text, suggested maximum length 1,000 characters (XHTML is enabled in this element - see ONIX for Books - Product Information Message - XML Message Specification, Section 7)

      (type: XHTML)

    • downloadCaption

      public String downloadCaption
      Raw Format: Variable-length text, suggested maximum length 500 characters (XHTML is enabled in this element - see ONIX for Books - Product Information Message - XML Message Specification, Section 7)

      (type: XHTML)

    • downloadCredit

      public String downloadCredit
      Raw Format: Variable-length text, suggested maximum length 300 characters (XHTML is enabled in this element - see ONIX for Books - Product Information Message - XML Message Specification, Section 7)

      (type: XHTML)

    • downloadCopyrightNotice

      public String downloadCopyrightNotice
      Raw Format: Variable-length text, suggested maximum length 300 characters (XHTML is enabled in this element - see ONIX for Books - Product Information Message - XML Message Specification, Section 7)

      (type: XHTML)

    • downloadTerms

      public String downloadTerms
      Raw Format: Variable-length text, suggested maximum length 500 characters (XHTML is enabled in this element - see ONIX for Books - Product Information Message - XML Message Specification, Section 7)

      (type: XHTML)

    • mediaFileDate

      public String mediaFileDate
      Raw Format: Fixed-length, 8 numeric digits, YYYYMMDD

      (type: NonEmptyString)

  • Constructor Details

    • JonixMediaFile

      public JonixMediaFile()
  • Method Details