Uses of Class
com.ultikits.ultitools.config.convert.ConversionException
Packages that use ConversionException
Package
Description
Module-extensible conversion between Java values and the configuration plain-data model.
-
Uses of ConversionException in com.ultikits.ultitools.abstracts
Methods in com.ultikits.ultitools.abstracts with parameters of type ConversionExceptionModifier and TypeMethodDescriptionprivate static StringAbstractConfigEntity.conversionReason(ConversionException failure) private voidAbstractConfigEntity.warnConversion(Field field, ConversionException failure, Object raw, Object fieldRaw) -
Uses of ConversionException in com.ultikits.ultitools.config.convert
Fields in com.ultikits.ultitools.config.convert declared as ConversionExceptionMethods in com.ultikits.ultitools.config.convert that return ConversionExceptionMethods in com.ultikits.ultitools.config.convert with parameters of type ConversionExceptionModifier and TypeMethodDescriptionvoidConverterRegistry.Context.record(Object raw, ConversionException cause) Methods in com.ultikits.ultitools.config.convert that throw ConversionExceptionModifier and TypeMethodDescriptionConfigConverter.fromPlain(Object plain, ConversionContext ctx) Converts plain data to a Java value.<V> VConverts a nested document value through the same registry.<V> V<T> TConverts a document value through this registry.LegacyParserAdapter.fromPlain(Object plain, ConversionContext context) <T> ConversionResult<T> Converts with an internal diagnostic collector shared by every nested context.<T> ConversionResult<T> ConverterRegistry.fromPlainResult(Object plain, Type type, String file, List<String> path, ConfigEntry entry) Selects an explicitly declared legacy parser before registry conversion.private <T> TConverterRegistry.invokeRead(ConfigConverter<?> converter, Object plain, ConverterRegistry.Context ctx) private ObjectConverterRegistry.invokeWrite(ConfigConverter<Object> converter, Object value, ConverterRegistry.Context ctx) private static ObjectLegacyParserAdapter.legacyInput(Object plain, ConverterRegistry.Context ctx) private ConfigParser<?> LegacyParserAdapter.parser(ConverterRegistry.Context ctx) private <T> TConverterRegistry.read(Object plain, ConverterRegistry.Context ctx) ConverterRegistry.Context.readSerializable(Object plain, Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable> factory) Applies the ordinary registered hierarchy before delegate-aware Bukkit fallback.private ObjectConverterRegistry.readSerializable(Object plain, Class<? extends org.bukkit.configuration.serialization.ConfigurationSerializable> factory, ConverterRegistry.Context ctx) <V> VConfigConverter.toPlain(T value, ConversionContext ctx) Converts a Java value to plain data.Converts a nested Java value using its runtime type and the same registry.Converts a Java value and enforces the storage plain-data boundary even for custom output.ConverterRegistry.toPlain(Object value, Type type, String file, List<String> path, ConfigEntry entry) Selects an explicitly declared legacy parser before registry conversion.LegacyParserAdapter.toPlain(Object value, ConversionContext context) ConverterRegistry.toPlainResult(Object value, Type type, String file, List<String> path, ConfigEntry entry) Internal write-planning bridge; inspection callers may discard the located omissions.ConverterRegistry.toPlainResult(Object value, Type type, String file, List<String> path, ConfigEntry entry, Object fileValue) Internal write-planning bridge that also takes the plain value the file holds atpath.private ObjectConverterRegistry.write(Object value, ConverterRegistry.Context ctx) ConverterRegistry.Context.writeTyped(Object value, Type declared) Constructors in com.ultikits.ultitools.config.convert with parameters of type ConversionExceptionModifierConstructorDescription(package private)ConversionFailure(Object raw, ConversionException cause) -
Uses of ConversionException in com.ultikits.ultitools.config.convert.builtin
Methods in com.ultikits.ultitools.config.convert.builtin that return ConversionExceptionModifier and TypeMethodDescriptionprivate static ConversionExceptionScalarConverter.failure(ConversionContext ctx, String message) Methods in com.ultikits.ultitools.config.convert.builtin that throw ConversionExceptionModifier and TypeMethodDescriptionprivate static ObjectGenericConverters.construct(Class<?> raw, ConverterRegistry.Context ctx) GenericConverters.fromPlain(Object plain, ConversionContext context) ScalarConverter.fromPlain(Object plain, ConversionContext ctx) private static ObjectBukkitConverters.hydrate(Object plain, ConverterRegistry.Context ctx) BukkitConverters.hydrateValues(Map<?, ?> plain, ConverterRegistry.Context ctx) private static StringGenericConverters.keyText(Object plain, Object javaKey, Type keyType, ConverterRegistry.Context keyContext) The text a converted map key is written under.private static Collection<Object> GenericConverters.newCollection(Class<?> raw, Type element, ConverterRegistry.Context ctx) GenericConverters.newMap(Class<?> raw, Type key, ConverterRegistry.Context ctx) static ObjectPlainNormalizer.normalize(Object value, ConverterRegistry.Context ctx) Converts a known output container and dispatches non-plain leaves through the module registry.private static ObjectGenericConverters.readEnum(Object plain, Class<?> raw, ConverterRegistry.Context ctx) GenericConverters.toPlain(Object value, ConversionContext context) ScalarConverter.toPlain(Object value, ConversionContext ctx) GenericConverters.writeMap(Map<?, ?> value, ConverterRegistry.Context ctx) Writes each entry under the file's own key text for its key when the file value at this location holds one (the first in file order), else under the key's verified text, and descends into the value under that text so nested maps bind too.