Module ical4j.core

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, Gap.Factory, Label.Factory, Language.Factory, LinkRel.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 be Serializable to support referencing from Parameter instances.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a parameter instance of the appropriate type with the specified value.
    boolean
     
  • Method Details

    • createParameter

      T createParameter(String value)
      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)