All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.annot8.common.implementations.content.AbstractContentBuilderFactory Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.common.implementations.content;

import io.annot8.common.implementations.factories.ContentBuilderFactory;
import io.annot8.core.data.Content;

public abstract class AbstractContentBuilderFactory>
    implements ContentBuilderFactory {

  private final Class dataClass;
  private final Class contentClass;

  protected AbstractContentBuilderFactory(Class dataClass, Class contentClass) {
    this.dataClass = dataClass;
    this.contentClass = contentClass;
  }

  @Override
  public Class getDataClass() {
    return dataClass;
  }

  @Override
  public Class getContentClass() {
    return contentClass;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy