Class DefaultTypeRegistry
java.lang.Object
io.fluxzero.common.serialization.DefaultTypeRegistry
- All Implemented Interfaces:
TypeRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTypeName(String alias) Returns the fully qualified class name associated with the given alias or type key.
-
Constructor Details
-
DefaultTypeRegistry
public DefaultTypeRegistry() -
DefaultTypeRegistry
-
-
Method Details
-
getTypeName
Description copied from interface:TypeRegistryReturns the fully qualified class name associated with the given alias or type key.- Specified by:
getTypeNamein interfaceTypeRegistry- Parameters:
alias- the name or alias to resolve, typically obtained from@classin JSON- Returns:
- an
Optionalcontaining the resolved fully qualified class name, or empty if not found
-