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 TypeMethodDescriptionAttempts to parse the JSON data and return a provider for an iota renderer.static @NotNull SplicingTableIotaRendererParser<?>simple(SplicingTableIotaRendererProvider provider) 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. ThrowsIllegalArgumentExceptionorJsonParseExceptionif the input is invalid. -
simple
@NotNull static @NotNull SplicingTableIotaRendererParser<?> simple(SplicingTableIotaRendererProvider provider) Creates a parser that always returns the given provider.
-