net.fortuna.ical4j.model
Interface ParameterFactory

All Known Implementing Classes:
ParameterFactoryImpl

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.

Author:
Ben Fortuna

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

Method Detail

createParameter

Parameter createParameter(java.lang.String name,
                          java.lang.String value)
                          throws java.net.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
Throws:
java.net.URISyntaxException


Copyright © 2004-2009 Modularity. All Rights Reserved.