Uses of Interface
io.annot8.core.annotations.Annotation
-
Packages that use Annotation Package Description io.annot8.core.annotations This package contains the core interfaces for annotations and groups of annotations.io.annot8.core.references io.annot8.core.stores This package contains the core interfaces for store objects -
-
Uses of Annotation in io.annot8.core.annotations
Methods in io.annot8.core.annotations that return types with arguments of type Annotation Modifier and Type Method Description default Map<String,Stream<Annotation>>Group. getAnnotations()The roles with the associated annotations in this groupdefault Stream<Annotation>Group. getAnnotations(String role)All the annotations in this group with the specified roledefault Stream<Annotation>Group. getAnnotationsForContent(Content content)Return all the annotations in this group for the specified content.default Stream<Annotation>Group. getAnnotationsForContentAndRole(Content content, String role)Return all the annotations in this group for the specified content and role.Methods in io.annot8.core.annotations with parameters of type Annotation Modifier and Type Method Description booleanGroup. containsAnnotation(Annotation annotation)Check if the annotation is included in the group.Optional<String>Group. getRole(Annotation annotation)Get the role of a specific annotation in this groupdefault booleanAnnotation. sameAnnotation(Annotation other)Do two instances represent the same underlying annotations?Group.BuilderGroup.Builder. withAnnotation(String role, Annotation annotation)Add an annotation to this group with the specified role. -
Uses of Annotation in io.annot8.core.references
Methods in io.annot8.core.references that return types with arguments of type Annotation Modifier and Type Method Description Optional<Annotation>AnnotationReference. toAnnotation()Convert the reference to an annotations.static Stream<Annotation>AnnotationReference. toAnnotations(Stream<AnnotationReference> references)Convert a stream of annotation references to annotations -
Uses of Annotation in io.annot8.core.stores
Methods in io.annot8.core.stores that return types with arguments of type Annotation Modifier and Type Method Description Stream<Annotation>AnnotationStore. getAll()Get all annotations currently held in this storedefault <B extends Bounds>
Stream<Annotation>AnnotationStore. getByBounds(Class<B> boundsClass)Get all annotations of a given bounds currently held in this storedefault <B extends Bounds>
Stream<Annotation>AnnotationStore. getByBoundsAndType(Class<B> boundsClass, String type)Get all annotations of a given bounds and type currently held in this storeOptional<Annotation>AnnotationStore. getById(String annotationId)Get the annotation with the given ID, if it is currently held in this storedefault Stream<Annotation>AnnotationStore. getByType(String type)Get all annotations of a given type currently held in this storeMethods in io.annot8.core.stores with parameters of type Annotation Modifier and Type Method Description default Annotation.BuilderAnnotationStore. copy(Annotation existing)Clone an existing annotation to create a new annotationvoidAnnotationStore. delete(Annotation annotation)Delete an annotation from the storedefault Annotation.BuilderAnnotationStore. edit(Annotation existing)Edit an annotation (saving will replace the old version)Method parameters in io.annot8.core.stores with type arguments of type Annotation Modifier and Type Method Description default voidAnnotationStore. delete(Collection<Annotation> annotations)Delete a collection of annotations from the store
-