net.fortuna.ical4j.model
Class ComponentFactory
java.lang.Objectnet.fortuna.ical4j.model.ComponentFactory
public final class ComponentFactory
extends java.lang.Object
$Id: ComponentFactory.java,v 1.16 2008/12/16 12:34:52 fortuna Exp $ [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.
allowIllegalNames
protected boolean allowIllegalNames()
createComponent
public Component createComponent(String name)
createComponent
public Component createComponent(String name,
PropertyList properties) Creates a component.
name - name of the componentproperties - a list of component properties
createComponent
public Component createComponent(String name,
PropertyList properties,
ComponentList components) Creates a component which contains sub-components. Currently the only such component is VTIMEZONE.
name - name of the componentproperties - a list of component propertiescomponents - a list of sub-components (namely standard/daylight timezones)
getInstance
public static ComponentFactory getInstance()