Interface SplicingTableIotaRendererParser<T extends SplicingTableIotaRendererProvider>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SplicingTableIotaRendererParser<T extends SplicingTableIotaRendererProvider>
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(@NotNull com.google.gson.Gson gson, @NotNull com.google.gson.JsonObject jsonObject, T parent)
    Attempts to parse the JSON data and return a provider for an iota renderer.
    Creates a parser that always returns the given provider.
  • Method Details

    • parse

      @NotNull T parse(@NotNull @NotNull com.google.gson.Gson gson, @NotNull @NotNull com.google.gson.JsonObject jsonObject, @Nullable T parent)
      Attempts to parse the JSON data and return a provider for an iota renderer. Throws IllegalArgumentException or JsonParseException if the input is invalid.
    • simple

      @NotNull static @NotNull SplicingTableIotaRendererParser<?> simple(SplicingTableIotaRendererProvider provider)
      Creates a parser that always returns the given provider.