Class FreeTextAnnotationImpl

java.lang.Object
org.opencastproject.metadata.mpeg7.FreeTextAnnotationImpl
All Implemented Interfaces:
org.opencastproject.mediapackage.XmlElement, FreeTextAnnotation

public class FreeTextAnnotationImpl extends Object implements FreeTextAnnotation
TODO: Comment me!
  • Field Details

    • text

      protected String text
      The text annotation
  • Constructor Details

    • FreeTextAnnotationImpl

      public FreeTextAnnotationImpl(String text)
      Creates a new free text annotation.
      Parameters:
      text - the annotation
  • Method Details

    • getText

      public String getText()
      Description copied from interface: FreeTextAnnotation
      Returns the text of this free text annotation.
      Specified by:
      getText in interface FreeTextAnnotation
      Returns:
      the annotation
    • toXml

      public Node toXml(Document document)
      Specified by:
      toXml in interface org.opencastproject.mediapackage.XmlElement
      See Also:
      • XmlElement.toXml(org.w3c.dom.Document)