java.lang.Object
net.fortuna.ical4j.model.AbstractContentFactory<ComponentFactory<?>>
net.fortuna.ical4j.model.ComponentFactoryImpl
- All Implemented Interfaces:
Serializable,Supplier<List<ComponentFactory<?>>>
@Deprecated
public final class ComponentFactoryImpl
extends AbstractContentFactory<ComponentFactory<?>>
Deprecated.
$Id$ [05-Apr-2004]
A factory for creating iCalendar components. Note that if relaxed parsing is enabled (via specifying the system
property: icalj.parsing.relaxed=true) illegal component names are allowed.
- See Also:
-
Field Summary
Fields inherited from class net.fortuna.ical4j.model.AbstractContentFactory
factoryLoader -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructor made private to prevent instantiation. -
Method Summary
Modifier and TypeMethodDescriptioncreateComponent(String name) Deprecated.createComponent(String name, PropertyList properties) Deprecated.Creates a component.createComponent(String name, PropertyList properties, ComponentList<? extends Component> components) Deprecated.Creates a component which contains sub-components.protected booleanfactorySupports(ComponentFactory<?> factory, String key) Deprecated.Methods inherited from class net.fortuna.ical4j.model.AbstractContentFactory
allowIllegalNames, get, getFactory, registerExtendedFactory
-
Constructor Details
-
ComponentFactoryImpl
public ComponentFactoryImpl()Deprecated.Constructor made private to prevent instantiation.
-
-
Method Details
-
factorySupports
Deprecated.- Specified by:
factorySupportsin classAbstractContentFactory<ComponentFactory<?>>
-
createComponent
Deprecated.- Parameters:
name- a component name- Returns:
- a new component instance of the specified type
-
createComponent
Deprecated.Creates a component.- Parameters:
name- name of the componentproperties- a list of component properties- Returns:
- a component
-
createComponent
public Component createComponent(String name, PropertyList properties, ComponentList<? extends Component> components) Deprecated.Creates a component which contains sub-components. Currently the only such component is VTIMEZONE.- Parameters:
name- name of the componentproperties- a list of component propertiescomponents- a list of sub-components (namely standard/daylight timezones)- Returns:
- a component
-