Package net.fortuna.ical4j.model
Interface ParameterFactory<T extends Parameter>
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Abbrev.Factory
,AltRep.Factory
,Cn.Factory
,CuType.Factory
,DelegatedFrom.Factory
,DelegatedTo.Factory
,Derived.Factory
,Dir.Factory
,Display.Factory
,Email.Factory
,Encoding.Factory
,FbType.Factory
,Feature.Factory
,FmtType.Factory
,Label.Factory
,Language.Factory
,Member.Factory
,Order.Factory
,PartStat.Factory
,Range.Factory
,Related.Factory
,RelType.Factory
,Role.Factory
,Rsvp.Factory
,ScheduleAgent.Factory
,ScheduleStatus.Factory
,Schema.Factory
,SentBy.Factory
,Type.Factory
,TzId.Factory
,Value.Factory
,Vvenue.Factory
,XParameter.Factory
public interface ParameterFactory<T extends Parameter> extends Serializable
Implementors provide parameter creation services. Note that implementations must beSerializable
to support referencing fromParameter
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
createParameter(String value)
Returns a parameter instance of the appropriate type with the specified value.boolean
supports(String name)
-
-
-
Method Detail
-
createParameter
T createParameter(String value) throws URISyntaxException
Returns a parameter instance of the appropriate type with the specified value.- Parameters:
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:
URISyntaxException
- where an invalid URI is encountered
-
supports
boolean supports(String name)
-
-