Interface TextContent.Builder

All Superinterfaces:
MetaCarrier.Builder<TextContent.Builder>
Enclosing interface:
TextContent

public static interface TextContent.Builder extends MetaCarrier.Builder<TextContent.Builder>
Builder for creating text contents
  • Method Details

    • setAnnotations

      TextContent.Builder setAnnotations(Annotations annotations)
      Sets the annotations for the content
      Parameters:
      annotations - the annotations
      Returns:
      this builder
    • build

      TextContent build()
      Builds the text content
      Returns:
      the new text content