Class Citation.Builder

  • Enclosing class:
    Citation

    public static final class Citation.Builder
    extends java.lang.Object
    • Method Detail

      • fileId

        public Citation.Builder fileId​(java.util.Optional<java.lang.String> fileId)

        ID of the file the cited content was found in. On multifile runs, join this against the run's files array to determine which input file the citation refers to; on single-file runs it equals the run's file.id.

      • referenceText

        public Citation.Builder referenceText​(java.util.Optional<java.lang.String> referenceText)

        The text that was referenced

      • referenceText

        public Citation.Builder referenceText​(java.lang.String referenceText)
      • polygon

        public Citation.Builder polygon​(java.util.Optional<java.util.List<Polygon>> polygon)

        Array of points defining the polygon around the referenced text