Uses of Class
io.permazen.encoding.EncodingId
-
Uses of EncodingId in io.permazen.encoding
Modifier and TypeMethodDescriptionstatic EncodingId
Build an encoding ID for a built-in Permazen encoding, using the given suffix.EncodingId.getArrayId()
Get the encoding ID corresponding to one more array dimension.EncodingId.getElementId()
Get the encoding ID corresponding to one fewer array dimension.final EncodingId
AbstractEncoding.getEncodingId()
Encoding.getEncodingId()
Get the globally unique encoding ID that identifies this encoding, if any.DefaultEncodingRegistry.idForAlias
(String alias) static EncodingId
EncodingIds.idForAlias
(String alias) Get the encoding ID corresponding to the given alias (or "nickname"), if any, for a Permazen built-in encoding.default EncodingId
EncodingRegistry.idForAlias
(String alias) Get the encoding ID corresponding to the given alias (or "nickname"), if any.Modifier and TypeMethodDescription<T> boolean
SimpleEncodingRegistry.addNullSafe
(EncodingId encodingId, Encoding<T> inner) Add a null-safe version of the given non-null supportingEncoding
to this registry.DefaultEncodingRegistry.aliasForId
(EncodingId encodingId) static String
EncodingIds.aliasForId
(EncodingId encodingId) Get the alias (or "nickname") for the given encoding ID in this registry, if any, for a Permazen built-in encoding.default String
EncodingRegistry.aliasForId
(EncodingId encodingId) Get the alias (or "nickname") for the given encoding ID in this registry, if any.int
EncodingId.compareTo
(EncodingId that) Encoding<?>
DefaultEncodingRegistry.getEncoding
(EncodingId encodingId) Encoding<?>
EncodingRegistry.getEncoding
(EncodingId encodingId) Get theEncoding
with the given encoding ID in this registry.Encoding<?>
SimpleEncodingRegistry.getEncoding
(EncodingId encodingId) protected void
SimpleEncodingRegistry.register
(EncodingId encodingId, Encoding<?> encoding) Register a newEncoding
.Modifier and TypeMethodDescriptionprotected void
DefaultEncodingRegistry.addOptionalBuiltinEncoding
(String name, Function<EncodingId, ? extends Encoding<?>> builder) Register a built-in encoding, but only if its target class is found on the classpath.ModifierConstructorDescriptionprotected
AbstractEncoding
(EncodingId encodingId, TypeToken<T> typeToken, Supplier<? extends T> defaultValueSupplier) Constructor.protected
AbstractEncoding
(EncodingId encodingId, Class<T> type, Supplier<? extends T> defaultValueSupplier) Constructor.BooleanEncoding
(EncodingId encodingId) ByteEncoding
(EncodingId encodingId) CharacterEncoding
(EncodingId encodingId) ConvertedEncoding
(EncodingId encodingId, TypeToken<T> typeToken, Encoding<S> delegate, Converter<T, S> converter, boolean sortsNaturally) Primary constructor.ConvertedEncoding
(EncodingId encodingId, Class<T> type, Encoding<S> delegate, Converter<T, S> converter) Convenience constructor for when the newConvertedEncoding
does not sort naturally.ConvertedEncoding
(EncodingId encodingId, Class<T> type, Encoding<S> delegate, Converter<T, S> converter, boolean sortsNaturally) DoubleEncoding
(EncodingId encodingId) FileEncoding
(EncodingId encodingId) FloatEncoding
(EncodingId encodingId) IntegerEncoding
(EncodingId encodingId) protected
IntegralEncoding
(EncodingId encodingId, Primitive<T> primitive) InternetAddressEncoding
(EncodingId encodingId) LongEncoding
(EncodingId encodingId) NullSafeEncoding
(EncodingId encodingId, Encoding<T> inner) Constructor.protected
NumberEncoding
(EncodingId encodingId, Primitive<T> primitive) PatternEncoding
(EncodingId encodingId) protected
PrimitiveEncoding
(EncodingId encodingId, Primitive<T> primitive) ShortEncoding
(EncodingId encodingId) StringConvertedEncoding
(EncodingId encodingId, TypeToken<T> type, Converter<T, String> converter) Primary constructor.StringConvertedEncoding
(EncodingId encodingId, Class<T> type, Converter<T, String> converter) URIEncoding
(EncodingId encodingId) ZoneIdEncoding
(EncodingId encodingId) -
Uses of EncodingId in io.permazen.schema
Modifier and TypeMethodDescriptionSimpleSchemaField.getEncodingId()
Get theEncodingId
that identifies how this field's values are encoded.Modifier and TypeMethodDescriptionvoid
SimpleSchemaField.setEncodingId
(EncodingId encodingId) Set theEncodingId
that identifies how this field's values are encoded.