Uses of Interface
io.annot8.core.data.Content
-
Packages that use Content Package Description io.annot8.core.annotations This package contains the core interfaces for annotations and groups of annotations.io.annot8.core.bounds This package contains the core interface for bounds.io.annot8.core.capabilities This package contains the core interface for capabilities.io.annot8.core.data This package contains the core data objects used by Annot8 -
-
Uses of Content in io.annot8.core.annotations
Methods in io.annot8.core.annotations with parameters of type Content Modifier and Type Method Description default 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. -
Uses of Content in io.annot8.core.bounds
Methods in io.annot8.core.bounds with type parameters of type Content Modifier and Type Method Description default <D,C extends Content<D>>
Optional<D>Bounds. getData(C content)Get the subset of data which is covered by these bounds, returning the data in the native format of the Content.<D,C extends Content<D>,R>
Optional<R>Bounds. getData(C content, Class<R> requiredClass)Get the subset of data which is covered by these bounds.<D,C extends Content<D>>
booleanBounds. isValid(C content)Are these bounds valid for the provided content? -
Uses of Content in io.annot8.core.capabilities
Methods in io.annot8.core.capabilities that return types with arguments of type Content Modifier and Type Method Description Class<? extends Content<?>>ContentCapability. getType()Get the content type created/deleted/processedMethod parameters in io.annot8.core.capabilities with type arguments of type Content Modifier and Type Method Description default Capabilities.BuilderCapabilities.Builder. createsContent(Class<? extends Content<?>> clazz)Declare that the component will create a type of contentdefault Capabilities.BuilderCapabilities.Builder. deletesContent(Class<? extends Content<?>> clazz)Declare that the component will delete a type of contentdefault Capabilities.BuilderCapabilities.Builder. processesContent(Class<? extends Content<?>> clazz, boolean optional)Declare that the component will process a type of contentConstructor parameters in io.annot8.core.capabilities with type arguments of type Content Constructor Description ContentCapability(Class<? extends Content<?>> type, boolean optional)Create from details -
Uses of Content in io.annot8.core.data
Classes in io.annot8.core.data with type parameters of type Content Modifier and Type Interface Description static interfaceContent.Builder<A extends Content<D>,D>Builder interface to create (immutable) Content classesMethods in io.annot8.core.data with type parameters of type Content Modifier and Type Method Description <C extends Content<D>,D>
Content.Builder<C,D>BaseItem. create(Class<C> clazz)Create a new content builder to generate content.default <T extends Content<?>>
Stream<T>BaseItem. getContents(Class<T> clazz)All content objects of the specified class contained within this itemMethods in io.annot8.core.data that return types with arguments of type Content Modifier and Type Method Description Optional<Content<?>>BaseItem. getContent(String id)The content object for the specified iddefault Stream<Content<?>>BaseItem. getContentByName(String name)The content object for the specified nameClass<? extends Content<D>>Content. getContentClass()The top level content interface this object implementsStream<Content<?>>BaseItem. getContents()All content objects contained within this item
-