Class 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:
  • Constructor Details

    • ComponentFactoryImpl

      public ComponentFactoryImpl()
      Deprecated.
      Constructor made private to prevent instantiation.
  • Method Details

    • factorySupports

      protected boolean factorySupports(ComponentFactory factory, String key)
      Deprecated.
      Specified by:
      factorySupports in class AbstractContentFactory<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)
      Deprecated.
      Creates a component.
      Parameters:
      name - name of the component
      properties - a list of component properties
      Returns:
      a component
    • 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 component
      properties - a list of component properties
      components - a list of sub-components (namely standard/daylight timezones)
      Returns:
      a component