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

com.cedarsoft.utils.Renderer Maven / Gradle / Ivy

The newest version!
package com.cedarsoft.utils;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
 * Renders an object
 * T: The type of the object
 * C: The context type (optional)
 */
public interface Renderer {
  /**
   * Renders an object
   *
   * @param object  the object
   * @param context the context
   * @return the rendered string
   */
  @NotNull
  String render( @NotNull T object, @Nullable C context );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy