Class TextualAnnotationWrapper


public class TextualAnnotationWrapper extends GenericAnnotationWrapper<TextualAnnotationData>
Class containing a TextualAnnotationData object.

Wraps function calls to the TextualAnnotationData contained.

  • Constructor Details

    • TextualAnnotationWrapper

      public TextualAnnotationWrapper(TextualAnnotationData object)
      Constructor of the TextualAnnotationWrapper class.
      Parameters:
      object - TextualAnnotationData to be wrap.
    • TextualAnnotationWrapper

      public TextualAnnotationWrapper(String text)
      Creates a new Textual Annotation with the provided text.
      Parameters:
      text - Textual Annotation to be contained.
  • Method Details

    • getText

      public String getText()
      Returns the text of this annotation.
      Returns:
      See above.
    • setText

      public void setText(String text)
      Sets the text.
      Parameters:
      text - The value to set.