net.fortuna.ical4j.model
Class PropertyFactoryImpl
java.lang.Object
net.fortuna.ical4j.model.AbstractContentFactory
net.fortuna.ical4j.model.PropertyFactoryImpl
- All Implemented Interfaces:
- java.io.Serializable, PropertyFactory
- Direct Known Subclasses:
- PropertyFactoryRegistry
public class PropertyFactoryImpl
- extends AbstractContentFactory
- implements PropertyFactory
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.
- Author:
- Ben Fortuna
$Id: PropertyFactoryImpl.java,v 1.23 2011/02/20 03:12:32 fortuna Exp $ [05-Apr-2004]
- See Also:
- Serialized Form
Constructor Summary |
protected |
PropertyFactoryImpl()
Constructor made private to prevent instantiation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyFactoryImpl
protected PropertyFactoryImpl()
- Constructor made private to prevent instantiation.
getInstance
public static PropertyFactoryImpl getInstance()
- Returns:
- Returns the instance.
createProperty
public Property createProperty(java.lang.String name)
-
- Specified by:
createProperty
in interface PropertyFactory
- Parameters:
name
- a property name
- Returns:
- a new instance of the specified property
createProperty
public Property createProperty(java.lang.String name,
ParameterList parameters,
java.lang.String value)
throws java.io.IOException,
java.net.URISyntaxException,
java.text.ParseException
-
- Specified by:
createProperty
in interface PropertyFactory
- Parameters:
name
- a property nameparameters
- a list of property parametersvalue
- a property value
- Returns:
- a new instance of the specified property
- Throws:
java.io.IOException
- where an unexpected error occurs reading data
java.net.URISyntaxException
- where data contains an invalid URI
java.text.ParseException
- where data is unable to be parsed correctly
Copyright © 2004-2011 Modularity. All Rights Reserved.