Class TestStringContent

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


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

      Constructors 
      Constructor Description
      TestStringContent​()  
      TestStringContent​(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStore, java.lang.String id, java.lang.String name, io.annot8.core.properties.ImmutableProperties properties, java.util.function.Supplier<java.lang.String> data)  
      TestStringContent​(io.annot8.core.stores.AnnotationStore annotations, java.lang.String id, java.lang.String name, io.annot8.core.properties.ImmutableProperties properties, java.util.function.Supplier<java.lang.String> data)  
      TestStringContent​(java.lang.String id, java.lang.String name, io.annot8.core.properties.ImmutableProperties properties, java.util.function.Supplier<java.lang.String> data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends io.annot8.core.data.Content<java.lang.String>> getContentClass​()  
      • Methods inherited from interface io.annot8.core.data.Content

        getAnnotations, getData, getDataClass
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.annot8.common.data.content.Text

        getAfter, getBefore, getBetween, getCovers, getText
      • Methods inherited from interface io.annot8.core.helpers.WithId

        getId
      • Methods inherited from interface io.annot8.core.helpers.WithName

        getName
      • Methods inherited from interface io.annot8.core.helpers.WithProperties

        getProperties
    • Constructor Detail

      • TestStringContent

        public TestStringContent​()
      • TestStringContent

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

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

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

      • getContentClass

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