net.fortuna.ical4j.model
Class PropertyFactoryImpl
java.lang.Object
net.fortuna.ical4j.model.AbstractContentFactory
net.fortuna.ical4j.model.PropertyFactoryImpl
- All Implemented Interfaces:
- PropertyFactory
public final 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static PropertyFactoryImpl getInstance()
- Returns:
- Returns the instance.
createProperty
public Property createProperty(java.lang.String name)
- Creates an uninitialised property.
- Specified by:
createProperty
in interface PropertyFactory
- Parameters:
name
- name of the property
- Returns:
- a 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
- Creates a property.
- Specified by:
createProperty
in interface PropertyFactory
- Parameters:
name
- name of the propertyparameters
- a list of property parametersvalue
- a property value
- Returns:
- a component
- Throws:
java.io.IOException
java.net.URISyntaxException
java.text.ParseException
Copyright © 2004-2007 Modularity. All Rights Reserved.