net.fortuna.ical4j.model

Class PropertyFactoryImpl

Implemented Interfaces:
PropertyFactory

public final class PropertyFactoryImpl
extends AbstractContentFactory
implements PropertyFactory

$Id: PropertyFactoryImpl.java,v 1.16 2008/12/16 12:34:53 fortuna Exp $ [05-Apr-2004] A factory for creating iCalendar properties. Note that if relaxed parsing is enabled (via specifying the system property: icalj.parsing.relaxed=true) illegal property names are allowed.

Method Summary

Property
createProperty(String name)
Creates an uninitialised property.
Property
createProperty(String name, ParameterList parameters, String value)
Creates a property.
static PropertyFactoryImpl
getInstance()

Method Details

createProperty

public Property createProperty(String name)
Creates an uninitialised property.
Parameters:
name - name of the property
Returns:
a property

createProperty

public Property createProperty(String name,
                               ParameterList parameters,
                               String value)
            throws IOException,
                   URISyntaxException,
                   ParseException
Creates a property.
Parameters:
name - name of the property
parameters - a list of property parameters
value - a property value
Returns:
a component

getInstance

public static PropertyFactoryImpl getInstance()
Returns:
Returns the instance.