Module ical4j.core

Interface PropertyFactory<T extends Property>

All Superinterfaces:
Serializable
All Known Implementing Classes:
Acknowledged.Factory, Action.Factory, Attach.Factory, Attendee.Factory, BusyType.Factory, CalendarAddress.Factory, CalScale.Factory, Categories.Factory, Clazz.Factory, Color.Factory, Comment.Factory, Completed.Factory, Concept.Factory, Conference.Factory, Contact.Factory, Country.Factory, Created.Factory, Description.Factory, DtEnd.Factory, DtStamp.Factory, DtStart.Factory, Due.Factory, Duration.Factory, ExDate.Factory, ExRule.Factory, ExtendedAddress.Factory, FreeBusy.Factory, Geo.Factory, Image.Factory, LastModified.Factory, Link.Factory, Locality.Factory, Location.Factory, LocationType.Factory, Method.Factory, Name.Factory, Organizer.Factory, ParticipantType.Factory, PercentComplete.Factory, Postalcode.Factory, Priority.Factory, ProdId.Factory, RDate.Factory, RecurrenceId.Factory, RefId.Factory, RefreshInterval.Factory, Region.Factory, RelatedTo.Factory, Repeat.Factory, RequestStatus.Factory, Resources.Factory, ResourceType.Factory, RRule.Factory, Sequence.Factory, Source.Factory, Status.Factory, StreetAddress.Factory, StructuredData.Factory, StyledDescription.Factory, Summary.Factory, Tel.Factory, Transp.Factory, Trigger.Factory, TzId.Factory, TzIdAliasOf.Factory, TzName.Factory, TzOffsetFrom.Factory, TzOffsetTo.Factory, TzUntil.Factory, TzUrl.Factory, Uid.Factory, Url.Factory, Version.Factory, Xml.Factory

public interface PropertyFactory<T extends Property> extends Serializable
A factory for creating iCalendar properties.
  • Method Details

    • createProperty

      T createProperty()
      Returns:
      a new instance of the specified property
    • createProperty

      default T createProperty(String value)
      Creates a property instance with no parameters.
      Parameters:
      value - the property value
      Returns:
      a new property instance
      Throws:
      IllegalArgumentException - some properties may throw this exception when parsing the property value
    • createProperty

      T createProperty(ParameterList parameters, String value)
      Parameters:
      parameters - a list of property parameters
      value - a property value
      Returns:
      a new instance of the specified property
      Throws:
      IllegalArgumentException - where data contains an invalid URI
    • supports

      boolean supports(String name)