net.fortuna.ical4j.model

Interface ParameterFactory

public interface ParameterFactory

$Id: ParameterFactory.java,v 1.8 2008/12/16 12:34:53 fortuna Exp $ [05-Apr-2004] Created on 14/06/2005 Implementors provide parameter creation services.

Method Summary

Parameter
createParameter(String name, String value)
Returns a parameter instance of the appropriate type with the specified value.

Method Details

createParameter

public Parameter createParameter(String name,
                                 String value)
            throws URISyntaxException
Returns a parameter instance of the appropriate type with the specified value.
Parameters:
name - a parameter names that identifies the parameter type
value - a value to assign to the returned parameter
Returns:
a parameter instance, or null if this factory is unable to create an appropriate parameter