Class TestStringContent

  • All Implemented Interfaces:
    io.annot8.api.data.Content<String>, io.annot8.api.helpers.WithDescription, io.annot8.api.helpers.WithId, io.annot8.api.helpers.WithProperties, Text

    public class TestStringContent
    extends AbstractTestContent<String>
    implements Text
    • Constructor Detail

      • TestStringContent

        public TestStringContent()
      • TestStringContent

        public TestStringContent​(io.annot8.api.data.Item item)
      • TestStringContent

        public TestStringContent​(io.annot8.api.data.Item item,
                                 String id,
                                 String description,
                                 io.annot8.api.properties.ImmutableProperties properties,
                                 Supplier<String> data)
      • TestStringContent

        public TestStringContent​(io.annot8.api.data.Item item,
                                 io.annot8.api.stores.AnnotationStore annotations,
                                 String id,
                                 String description,
                                 io.annot8.api.properties.ImmutableProperties properties,
                                 Supplier<String> data)
    • Method Detail

      • getContentClass

        public Class<? extends io.annot8.api.data.Content<String>> getContentClass()
        Specified by:
        getContentClass in interface io.annot8.api.data.Content<String>