Serializable
, Supplier<List<T>>
ComponentFactoryImpl
, ParameterFactoryImpl
, PropertyFactoryImpl
@Deprecated public abstract class AbstractContentFactory<T> extends Object implements Serializable, Supplier<List<T>>
Modifier and Type | Field | Description |
---|---|---|
protected ServiceLoader |
factoryLoader |
Deprecated.
|
Constructor | Description |
---|---|
AbstractContentFactory(ServiceLoader factoryLoader) |
Deprecated.
Default constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
allowIllegalNames() |
Deprecated.
|
protected abstract boolean |
factorySupports(T factory,
String key) |
Deprecated.
|
List<T> |
get() |
Deprecated.
|
protected T |
getFactory(String key) |
Deprecated.
|
protected void |
registerExtendedFactory(String key,
T factory) |
Deprecated.
Define extensions in META-INF/services/net.fortuna.ical4j.model.[Type]Factory
|
protected transient ServiceLoader factoryLoader
public AbstractContentFactory(ServiceLoader factoryLoader)
@Deprecated protected final void registerExtendedFactory(String key, T factory)
protected final T getFactory(String key)
key
- a factory keyIllegalArgumentException
- if the specified key is blankprotected boolean allowIllegalNames()