Deprecated
Created on 28/01/2007
Abstract implementation of a content factory.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Map | |
| protected transient ServiceLoader |
| Access | Constructor and Description |
|---|---|
| public | AbstractContentFactory(ServiceLoader<S> factoryLoader, boolean allowIllegalNames)
Default constructor. |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| protected abstract boolean | |
| public List | |
| protected final T | Returns: a factory associated with the specified key, giving preference to standard factoriesa factory key key)
|
| protected final void | registerExtendedFactory(String key, T factory)
Deprecated
Define extensions in META-INF/services/net.fortuna.ical4j.model.[Type]Factory
Register a non-standard content factory. |
| allowIllegalNames | back to summary |
|---|---|
| private final boolean allowIllegalNames | |
| extendedFactories | back to summary |
|---|---|
| private final Map<String, T> extendedFactories | |
| factoryLoader | back to summary |
|---|---|
| protected transient ServiceLoader<S> factoryLoader | |
| AbstractContentFactory | back to summary |
|---|---|
| public AbstractContentFactory(ServiceLoader<S> factoryLoader, boolean allowIllegalNames) Default constructor. | |
| allowIllegalNames | back to summary |
|---|---|
protected boolean allowIllegalNames()
| |
| factorySupports | back to summary |
|---|---|
| protected abstract boolean factorySupports(T factory, String key) | |
| get | back to summary |
|---|---|
| public List Implements java. Doc from java. Gets a result. | |
| getFactory | back to summary |
|---|---|
protected final T getFactory(String key)
| |
| registerExtendedFactory | back to summary |
|---|---|
| protected final void registerExtendedFactory(String key, T factory)
Deprecated Define extensions in META-INF/services/net.fortuna.ical4j.model.[Type]Factory Register a non-standard content factory.
| |