Class TextualImpl

java.lang.Object
org.opencastproject.metadata.mpeg7.TextualImpl
All Implemented Interfaces:
org.opencastproject.mediapackage.XmlElement, Textual

public class TextualImpl extends Object implements Textual
Default implementation of a TextualBase mpeg-7 element.
  • Field Details

    • DEFAULT_PHONETIC_ALPHABET

      public static final String DEFAULT_PHONETIC_ALPHABET
      The default phonetic alphabet
      See Also:
    • text

      protected String text
      The text
    • language

      protected String language
      The text
    • transcription

      protected String transcription
      The phonetic transcription
    • alphabet

      protected String alphabet
      The phonetic alphabet
  • Constructor Details

    • TextualImpl

      public TextualImpl()
      Creates a new textual base element.
    • TextualImpl

      public TextualImpl(String text)
      Creates a new textual base element.
      Parameters:
      text - the text
      Throws:
      IllegalArgumentException - if the text is null or empty
    • TextualImpl

      public TextualImpl(String[] words)
      Creates a new Textual element from a number of words.
      Parameters:
      words - the words
    • TextualImpl

      public TextualImpl(String text, String language)
      Creates a new textual base element.
      Parameters:
      text - the text
      Throws:
      IllegalArgumentException - if the text is null or empty
    • TextualImpl

      public TextualImpl(String[] words, String language)
      Creates a new textual base element.
      Parameters:
      words - the words
      Throws:
      IllegalArgumentException - if the words is null or empty
  • Method Details