net.fortuna.ical4j.model
Interface ParameterFactory
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- ParameterFactoryImpl, ParameterFactoryRegistry
public interface ParameterFactory
- extends Serializable
Implementors provide parameter creation services.
Note that implementations must be Serializable to support referencing
from Parameter instances.
- Author:
- Ben Fortuna
$Id$ [05-Apr-2004]
Created on 14/06/2005
createParameter
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 typevalue - 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:
URISyntaxException - where an invalid URI is encountered
Copyright © 2004-2011 Micronode. All Rights Reserved.