net.fortuna.ical4j.model
Interface ParameterFactory
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ParameterFactoryImpl, ParameterFactoryRegistry
public interface ParameterFactory
- extends java.io.Serializable
Implementors provide parameter creation services.
Note that implementations must be Serializable
to support referencing
from Parameter
instances.
- Author:
- Ben Fortuna
$Id: ParameterFactory.java,v 1.13 2011/02/20 03:12:32 fortuna Exp $ [05-Apr-2004]
Created on 14/06/2005
Method Summary |
Parameter |
createParameter(java.lang.String name,
java.lang.String value)
Returns a parameter instance of the appropriate type with the specified value. |
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 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:
java.net.URISyntaxException
- where an invalid URI is encountered
Copyright © 2004-2011 Modularity. All Rights Reserved.