Contents
Class CodecMapCodec<T>
java.lang.Object
com.hypixel.hytale.codec.lookup.ACodecMapCodec<String, T, Codec<? extends T>>
com.hypixel.hytale.codec.lookup.StringCodecMapCodec<T, Codec<? extends T>>
com.hypixel.hytale.codec.lookup.CodecMapCodec<T>
- All Implemented Interfaces:
Codec<T>, InheritCodec<T>, RawJsonCodec<T>, RawJsonInheritCodec<T>, SchemaConvertable<T>, ValidatableCodec<T>
- Since:
- 22/3/18
- Version:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class ACodecMapCodec
ACodecMapCodec.UnknownIdException -
Field Summary
Fields inherited from interface Codec
BASE64_PATTERN, BOOLEAN, BSON_DOCUMENT, BYTE, BYTE_ARRAY, DOUBLE, DOUBLE_ARRAY, DURATION, DURATION_SECONDS, FLOAT, FLOAT_ARRAY, INSTANT, INT_ARRAY, INTEGER, LOG_LEVEL, LONG, LONG_ARRAY, NULLABLE_BOOLEAN, PATH, SHORT, STRING, STRING_ARRAY, UUID_BINARY, UUID_STRING -
Constructor Summary
ConstructorsConstructorDescriptionCodecMapCodec(boolean allowDefault) CodecMapCodec(String id) CodecMapCodec(String key, boolean allowDefault) CodecMapCodec(String key, boolean allowDefault, boolean encodeDefaultKey) -
Method Summary
Methods inherited from class StringCodecMapCodec
decodeJson, removeMethods inherited from class ACodecMapCodec
decode, decodeAndInherit, decodeAndInherit, decodeAndInheritJson, decodeAndInheritJson, encode, getClassFor, getCodecFor, getCodecFor, getDefaultCodec, getIdFor, getKey, getRegisteredIds, toSchema, validate, validateDefaultsMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RawJsonCodec
decodeJsonMethods inherited from interface SchemaConvertable
toSchema
-
Constructor Details
-
CodecMapCodec
public CodecMapCodec() -
CodecMapCodec
-
CodecMapCodec
public CodecMapCodec(boolean allowDefault) -
CodecMapCodec
-
CodecMapCodec
-
-
Method Details
-
register
-
register
-