|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.model.ComponentFactory
public final class ComponentFactory
$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.
Method Summary | |
---|---|
protected boolean |
allowIllegalNames()
|
Component |
createComponent(String name)
|
Component |
createComponent(String name,
PropertyList properties)
Creates a component. |
Component |
createComponent(String name,
PropertyList properties,
ComponentList components)
Creates a component which contains sub-components. |
static ComponentFactory |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ComponentFactory getInstance()
public Component createComponent(String name)
name
- a component name
public Component createComponent(String name, PropertyList properties)
name
- name of the componentproperties
- a list of component properties
public Component createComponent(String name, PropertyList properties, ComponentList components)
name
- name of the componentproperties
- a list of component propertiescomponents
- a list of sub-components (namely standard/daylight timezones)
protected boolean allowIllegalNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |