Class PlainNormalizer
java.lang.Object
com.ultikits.ultitools.config.convert.builtin.PlainNormalizer
Explicit normalization of legacy/Bukkit output containers, never a reflective object walk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectnormalize(Object value, ConverterRegistry.Context ctx) Converts a known output container and dispatches non-plain leaves through the module registry.
-
Constructor Details
-
PlainNormalizer
private PlainNormalizer()
-
-
Method Details
-
normalize
public static Object normalize(Object value, ConverterRegistry.Context ctx) throws ConversionException Converts a known output container and dispatches non-plain leaves through the module registry.- Parameters:
value- output valuectx- located conversion context- Returns:
- plain data
- Throws:
ConversionException- when a leaf or key cannot be represented
-