Module jonix

Class BaseDescription

java.lang.Object
com.tectonica.jonix.unify.base.BaseDescription
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BaseDescription2, BaseDescription3

public abstract class BaseDescription extends Object implements Serializable
Bundles together some descriptive information included in an ONIX Product

NOTE: to access the information, use the public fields directly. No getters() are included..

Author:
Zach Melamed
See Also:
  • Field Details

  • Constructor Details

    • BaseDescription

      public BaseDescription()
  • Method Details

    • getFirstAudienceAgeRange

      public Integer[] getFirstAudienceAgeRange()
      returns a 2-items array, containing the FROM and TO age-range values, or null if not indicated. This function never returns null.
    • findLanguage

      public String findLanguage(LanguageRoles requestedType)
    • findJonixLanguage

      public JonixLanguage findJonixLanguage(LanguageRoles requestedType)
    • getAudienceAgeRange

      public static Integer[] getAudienceAgeRange(JonixAudienceRange audienceRange)