Package nl.vpro.domain.image
Interface ImageMetadataProvider
-
- All Known Implementing Classes:
ImageMetadataProvider.Wrapper
public interface ImageMetadataProviderThe basic interface for images isMetadata(POMS) and its extensionImageMetadataThere are a lot of image objects lying around which cannot directly implements one of these, because of conflicting methods.
So, at least they can implement this, and have
toImageMetadata().
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImageMetadataProvider.Wrapper<W extends Metadata<W>>If an image object already implementsMetadata, then an interface can be created using this wrapper.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <W extends Metadata<W>>
@PolyNull ImageMetadataProvider.Wrapper<W>of(@PolyNull W wrapped)@NonNull ImageMetadatatoImageMetadata()This has to be implemented,default @NonNull ImageMetadatatoImageMetadataWithSourceSet()
-
-
-
Method Detail
-
toImageMetadataWithSourceSet
default @NonNull ImageMetadata toImageMetadataWithSourceSet()
-
toImageMetadata
@NonNull ImageMetadata toImageMetadata()
This has to be implemented,Normally when using you should call
, which will also add (extra) {@link ImageMetadata#getSourceSet()} via {@link ImageSourceService}.
-
of
static <W extends Metadata<W>> @PolyNull ImageMetadataProvider.Wrapper<W> of(@PolyNull W wrapped)
-
-