Class AbstractContentBuilderFactory<D,C extends Content<D>>
- java.lang.Object
-
- io.annot8.implementations.support.content.AbstractContentBuilderFactory<D,C>
-
- All Implemented Interfaces:
ContentBuilderFactory<D,C>
public abstract class AbstractContentBuilderFactory<D,C extends Content<D>> extends Object implements ContentBuilderFactory<D,C>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractContentBuilderFactory(Class<D> dataClass, Class<C> contentClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<C>getContentClass()Get the content class created.Class<D>getDataClass()Get the class of the data this content holds-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.annot8.implementations.support.factories.ContentBuilderFactory
create
-
-
-
-
Method Detail
-
getDataClass
public Class<D> getDataClass()
Description copied from interface:ContentBuilderFactoryGet the class of the data this content holds- Specified by:
getDataClassin interfaceContentBuilderFactory<D,C extends Content<D>>- Returns:
- the data class
-
getContentClass
public Class<C> getContentClass()
Description copied from interface:ContentBuilderFactoryGet the content class created.- Specified by:
getContentClassin interfaceContentBuilderFactory<D,C extends Content<D>>- Returns:
- content class (being implemented)
-
-