java.lang.Object
net.fortuna.ical4j.data.DefaultContentHandler
- All Implemented Interfaces:
ContentHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CalendarComponent>protected final LinkedList<ComponentBuilder<Component>>The current component builders.protected PropertyBuilder -
Constructor Summary
ConstructorsConstructorDescriptionDefaultContentHandler(Consumer<Calendar> consumer, TimeZoneRegistry tzRegistry) DefaultContentHandler(Consumer<Calendar> consumer, TimeZoneRegistry tzRegistry, Supplier<List<ParameterFactory<?>>> parameterFactorySupplier, Supplier<List<PropertyFactory<?>>> propertyFactorySupplier, Supplier<List<ComponentFactory<?>>> componentFactorySupplier) Deprecated.DefaultContentHandler(Consumer<Calendar> consumer, TimeZoneRegistry tzRegistry, ContentHandlerContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidTriggers the end of handling a calendar.voidvoidendComponent(String name) Triggers the end of handling a component.voidendProperty(String name) Triggers the end of handling a property.voidTriggers the handling of a parameter.voidpropertyValue(String value) Triggers the handling of a property value.voidTriggers the start of handling a calendar.voidstartComponent(String name) Triggers the start of handling a component.voidstartProperty(String name) Triggers the start of handling a property.
-
Field Details
-
propertyBuilder
-
components
The current component builders. -
calendarProperties
-
calendarComponents
-
-
Constructor Details
-
DefaultContentHandler
-
DefaultContentHandler
@Deprecated public DefaultContentHandler(Consumer<Calendar> consumer, TimeZoneRegistry tzRegistry, Supplier<List<ParameterFactory<?>>> parameterFactorySupplier, Supplier<List<PropertyFactory<?>>> propertyFactorySupplier, Supplier<List<ComponentFactory<?>>> componentFactorySupplier) - Parameters:
consumer-tzRegistry-parameterFactorySupplier-propertyFactorySupplier-componentFactorySupplier-
-
DefaultContentHandler
public DefaultContentHandler(Consumer<Calendar> consumer, TimeZoneRegistry tzRegistry, ContentHandlerContext context)
-
-
Method Details
-
getComponentBuilder
-
endComponent
public void endComponent() -
startCalendar
public void startCalendar()Description copied from interface:ContentHandlerTriggers the start of handling a calendar.- Specified by:
startCalendarin interfaceContentHandler
-
endCalendar
public void endCalendar()Description copied from interface:ContentHandlerTriggers the end of handling a calendar.- Specified by:
endCalendarin interfaceContentHandler
-
startComponent
Description copied from interface:ContentHandlerTriggers the start of handling a component.- Specified by:
startComponentin interfaceContentHandler- Parameters:
name- a component name
-
endComponent
Description copied from interface:ContentHandlerTriggers the end of handling a component.- Specified by:
endComponentin interfaceContentHandler- Parameters:
name- a component name
-
startProperty
Description copied from interface:ContentHandlerTriggers the start of handling a property.- Specified by:
startPropertyin interfaceContentHandler- Parameters:
name- a property name
-
propertyValue
Description copied from interface:ContentHandlerTriggers the handling of a property value.- Specified by:
propertyValuein interfaceContentHandler- Parameters:
value- a property value
-
endProperty
Description copied from interface:ContentHandlerTriggers the end of handling a property.- Specified by:
endPropertyin interfaceContentHandler- Parameters:
name- a property name
-
parameter
Description copied from interface:ContentHandlerTriggers the handling of a parameter.- Specified by:
parameterin interfaceContentHandler- Parameters:
name- a parameter namevalue- a parameter value
-
DefaultContentHandler(Consumer, TimeZoneRegistry, ContentHandlerContext)