Interface AnnotationBuilderFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface AnnotationBuilderFactory
    Factory to createContent an annotation builder.

    Typically used in an AnnotationStore.getBuilder().

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.annot8.api.annotations.Annotation.Builder create​(io.annot8.api.data.Content<?> content, io.annot8.api.stores.AnnotationStore store)
      Create a new builder for the provided parameters.
    • Method Detail

      • create

        io.annot8.api.annotations.Annotation.Builder create​(io.annot8.api.data.Content<?> content,
                                                            io.annot8.api.stores.AnnotationStore store)
        Create a new builder for the provided parameters.

        Most implementation will simply need the store parameter to allow save on save.

        Parameters:
        content - the content
        store - the annotation store to use
        Returns:
        non-null builder