Class Annotation.AnnotationBuilder
- java.lang.Object
-
- com.lucidworks.apollo.common.pipeline.Annotation.AnnotationBuilder
-
- Enclosing class:
- Annotation
public static class Annotation.AnnotationBuilder extends java.lang.Object
Builder to buildAnnotation
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotation
create()
Annotation.AnnotationBuilder
withCharOffsets(long start, long end)
Annotation.AnnotationBuilder
withLabel(java.lang.String label)
Annotation.AnnotationBuilder
withType(java.lang.String type)
-
-
-
Method Detail
-
withCharOffsets
public Annotation.AnnotationBuilder withCharOffsets(long start, long end)
-
withType
public Annotation.AnnotationBuilder withType(java.lang.String type)
-
withLabel
public Annotation.AnnotationBuilder withLabel(java.lang.String label)
-
create
public Annotation create()
-
-