net.fortuna.ical4j.model
Interface PropertyFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
PropertyFactoryImpl, PropertyFactoryRegistry

public interface PropertyFactory
extends java.io.Serializable

A factory for creating iCalendar properties.

Author:
Ben Fortuna Note that implementations must be Serializable to support referencing from Property instances. $Id: PropertyFactory.java,v 1.14 2011/02/20 03:12:32 fortuna Exp $ Created on 16/06/2005

Method Summary
 Property createProperty(java.lang.String name)
           
 Property createProperty(java.lang.String name, ParameterList parameters, java.lang.String value)
           
 

Method Detail

createProperty

Property createProperty(java.lang.String name)
Parameters:
name - a property name
Returns:
a new instance of the specified property

createProperty

Property createProperty(java.lang.String name,
                        ParameterList parameters,
                        java.lang.String value)
                        throws java.io.IOException,
                               java.net.URISyntaxException,
                               java.text.ParseException
Parameters:
name - a property name
parameters - a list of property parameters
value - 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.