Class AbstractContentFactory<T>

    • Field Detail

      • factoryLoader

        protected transient ServiceLoader factoryLoader
        Deprecated.
    • Constructor Detail

      • AbstractContentFactory

        public AbstractContentFactory​(ServiceLoader factoryLoader,
                                      boolean allowIllegalNames)
        Deprecated.
        Default constructor.
    • Method Detail

      • registerExtendedFactory

        @Deprecated
        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.
      • factorySupports

        protected abstract boolean factorySupports​(T factory,
                                                   String key)
        Deprecated.
      • getFactory

        protected final T getFactory​(String key)
        Deprecated.
        Parameters:
        key - a factory key
        Returns:
        a factory associated with the specified key, giving preference to standard factories
        Throws:
        IllegalArgumentException - if the specified key is blank
      • allowIllegalNames

        protected boolean allowIllegalNames()
        Deprecated.
        Returns:
        true if non-standard names are allowed, otherwise false
      • get

        public List<T> get()
        Deprecated.
        Specified by:
        get in interface Supplier<T>