public class DefaultTypeResolver extends Object implements TypeResolver
CATALOG_SEPARATOR| Constructor and Description |
|---|
DefaultTypeResolver(Map<String,TypeLoader> loaders) |
| Modifier and Type | Method and Description |
|---|---|
Optional<MetadataType> |
resolveType(String reference)
Returns the
MetadataType of the specified type if found. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createFrom, createFrompublic DefaultTypeResolver(Map<String,TypeLoader> loaders)
public Optional<MetadataType> resolveType(String reference) throws TypeResolverException
TypeResolverMetadataType of the specified type if found. The value of reference must be a conjunction of
information where it could have the following pieces
TypeResolver was instantiated by 3 catalogs:
reference must have one of the following values:
TypeResolver will held the responsibility of providing a fixed set of primitive
types, see PrimitiveTypesTypeLoader.PRIMITIVE_TYPES. To reference them, the literal name will be enough:
StringTypeBooleanTyperesolveType in interface TypeResolverreference - The identifier name of the typeTypeResolverException - if the reference has a type loader's ID that is absent in the current manager.Copyright © 2023 MuleSoft, Inc.. All rights reserved.