default Document.AnnotationBuilder |
Document.annotationBuilder(@NonNull AnnotationType type) |
Creates an annotation builder for adding annotations to the document.
|
Document.AnnotationBuilder |
Document.AnnotationBuilder.attribute(AttributeType type,
Object value) |
Sets the value of the given AttributeType on the new Annotation to the given value.
|
Document.AnnotationBuilder |
Document.AnnotationBuilder.attributes(HString copy) |
Adds attributes to this annotation by copying the attributes of another HString object.
|
Document.AnnotationBuilder |
Document.AnnotationBuilder.attributes(Map<AttributeType<?>,?> map) |
Adds multiple attributes to the annotation
|
Document.AnnotationBuilder |
Document.AnnotationBuilder.bounds(Span span) |
Sets the bounds of this annotation from the given span
|
Document.AnnotationBuilder |
Document.AnnotationBuilder.from(@NonNull HString hString) |
Sets the bounds, and adds the relations and attributes from the given HString to this builder.
|
Document.AnnotationBuilder |
Document.AnnotationBuilder.relation(@NonNull Relation relation) |
Adds the given relation.
|
Document.AnnotationBuilder |
Document.AnnotationBuilder.relation(@NonNull Iterable<Relation> relations) |
Adds the given iterable of relations.
|