| Modifier and Type | Method and Description |
|---|---|
| public static < type of object to create T> T | Returns: a newly created object ornull if the factory is not in the listlist of available factories factories, String the factory name to use name)Create an instance of the specified name by looking up the needed factory in the list. |
| public static < factory type E extends NamedResource & OptionalFeature> List | Returns: the filtered list of factorieswhether to filter out unsupported factories from ignoreUnsupported, Collection<? extends E> preferredinitial list to filter preferred)Filters out unsupported factories from a given list if |
| public static < initial factory type S extends OptionalFeature, transformed factory type E extends NamedResource> List | Returns: the filtered list of transformed factorieswhether to filter out unsupported factories from ignoreUnsupported, Collection<? extends S> preferredinitial list to filter preferred, Function<? super S, ? extends E> the transformation to apply xform)Converts a list of factories to a list of transformed factories, optionally excluding unsupported factories. |
| create | back to summary |
|---|---|
| public static <T> T create(Collection<? extends NamedFactory<? extends T>> factories, String name) Create an instance of the specified name by looking up the needed factory in the list.
| |
| setUpBuiltinFactories | back to summary |
|---|---|
| public static <E extends NamedResource & OptionalFeature> List Filters out unsupported factories from a given list if
| |
| setUpTransformedFactories | back to summary |
|---|---|
| public static <S extends OptionalFeature, E extends NamedResource> List Converts a list of factories to a list of transformed factories, optionally excluding unsupported factories.
| |