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 Detail

      • create

        Annotation.Builder create​(Content<?> content,
                                  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