Package net.fortuna.ical4j.model
Class ComponentFactoryImpl
- 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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.fortuna.ical4j.model.AbstractContentFactory
factoryLoader
-
-
Constructor Summary
Constructors Constructor Description ComponentFactoryImpl()
Deprecated.Constructor made private to prevent instantiation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T extends Component>
TcreateComponent(String name)
Deprecated.<T extends Component>
TcreateComponent(String name, PropertyList properties)
Deprecated.Creates a component.<T extends Component>
TcreateComponent(String name, PropertyList properties, ComponentList<? extends Component> components)
Deprecated.Creates a component which contains sub-components.protected boolean
factorySupports(ComponentFactory factory, String key)
Deprecated.-
Methods inherited from class net.fortuna.ical4j.model.AbstractContentFactory
allowIllegalNames, get, getFactory, registerExtendedFactory
-
-
-
-
Method Detail
-
factorySupports
protected boolean factorySupports(ComponentFactory factory, String key)
Deprecated.- Specified by:
factorySupports
in classAbstractContentFactory<ComponentFactory>
-
createComponent
public <T extends Component> T createComponent(String name)
Deprecated.- Parameters:
name
- a component name- Returns:
- a new component instance of the specified type
-
createComponent
public <T extends Component> T createComponent(String name, PropertyList properties) throws URISyntaxException
Deprecated.Creates a component.- Parameters:
name
- name of the componentproperties
- a list of component properties- Returns:
- a component
- Throws:
URISyntaxException
-
createComponent
public <T extends Component> T 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
-
-