public static interface ResolverStrategy.ResolverResults
Modifier and Type | Method and Description |
---|---|
void |
addAllDescriptors(Map descriptors)
To add not only a single descriptor but a map of descriptors at once.
|
void |
addDescriptor(String className,
XMLClassDescriptor descriptor)
Adds a descriptor to this caches maps.
The descriptor is mapped both with the class name and its XML name. |
XMLClassDescriptor |
getDescriptor(String className)
Gets the descriptor that is mapped to the given class name.
|
void addDescriptor(String className, XMLClassDescriptor descriptor)
null
, the empty string (""), or has the value of the
constant INTERNAL_CONTAINER_NAME.
If there already is a descriptor for the given className
and/or the descriptor's XML name the previously cached descriptor is
replaced.className
- The class name to be used for mapping the given descriptor.descriptor
- The descriptor to be mapped.#INTERNAL_CONTAINER_NAME
void addAllDescriptors(Map descriptors)
descriptors
- a Map of className (String) and XMLClassDescriptor pairsXMLClassDescriptor getDescriptor(String className)
className
- The class name to get a descriptor for.null
if no descriptor is stored in this cache.Copyright © 2022. All rights reserved.