Class TestStringContent

  • All Implemented Interfaces:
    io.annot8.common.data.content.Text, io.annot8.core.data.Content<String>, io.annot8.core.helpers.WithId, io.annot8.core.helpers.WithProperties

    public class TestStringContent
    extends AbstractTestContent<String>
    implements io.annot8.common.data.content.Text
    • Constructor Detail

      • TestStringContent

        public TestStringContent()
      • TestStringContent

        public TestStringContent​(String id,
                                 String name,
                                 io.annot8.core.properties.ImmutableProperties properties,
                                 Supplier<String> data)
      • TestStringContent

        public TestStringContent​(io.annot8.core.stores.AnnotationStore annotations,
                                 String id,
                                 String name,
                                 io.annot8.core.properties.ImmutableProperties properties,
                                 Supplier<String> data)
      • TestStringContent

        public TestStringContent​(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStore,
                                 String id,
                                 String name,
                                 io.annot8.core.properties.ImmutableProperties properties,
                                 Supplier<String> data)
    • Method Detail

      • getContentClass

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