Class TypeResolverRegistry
java.lang.Object
org.wickedsource.docxstamper.api.typeresolver.TypeResolverRegistry
Registry for all implementations of ITypeResolver that are used by DocxStamper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ITypeResolver<T>getResolverForType(Class<T> type) Gets the ITypeResolver that was registered for the specified type.<T> voidregisterTypeResolver(Class<T> resolvedType, ITypeResolver<T> resolver)
-
Constructor Details
-
TypeResolverRegistry
-
-
Method Details
-
registerTypeResolver
-
getResolverForType
Gets the ITypeResolver that was registered for the specified type.- Type Parameters:
T- the type resolved by the ITypeResolver.- Parameters:
type- the class for which to find the ITypeResolver.- Returns:
- the ITypeResolver implementation that was earlier registered for the given class, or the default ITypeResolver if none is found.
-
getDefaultResolver
-