Package net.fortuna.ical4j.model
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
,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
,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
,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
,TzName.Factory
,TzOffsetFrom.Factory
,TzOffsetTo.Factory
,TzUrl.Factory
,Uid.Factory
,Url.Factory
,Version.Factory
public interface PropertyFactory<T extends Property> extends Serializable
A factory for creating iCalendar properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
createProperty()
default T
createProperty(String value)
Creates a property instance with no parameters.T
createProperty(ParameterList parameters, String value)
boolean
supports(String name)
-
-
-
Method Detail
-
createProperty
T createProperty()
- Returns:
- a new instance of the specified property
-
createProperty
default T createProperty(String value) throws URISyntaxException
Creates a property instance with no parameters.- Parameters:
value
- the property value- Returns:
- a new property instance
- Throws:
URISyntaxException
- some properties may throw this exception when parsing the property value
-
createProperty
T createProperty(ParameterList parameters, String value) throws URISyntaxException
- Parameters:
parameters
- a list of property parametersvalue
- a property value- Returns:
- a new instance of the specified property
- Throws:
URISyntaxException
- where data contains an invalid URI
-
supports
boolean supports(String name)
-
-