Package net.fortuna.ical4j.data
Class DefaultContentHandler
java.lang.Object
net.fortuna.ical4j.data.DefaultContentHandler
- All Implemented Interfaces:
ContentHandler
-
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.
-
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
Description copied from interface:ContentHandlerTriggers the end of handling a calendar.- Specified by:
endCalendarin interfaceContentHandler- Throws:
IOException
-
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- Throws:
URISyntaxExceptionParseExceptionIOException
-
parameter
Description copied from interface:ContentHandlerTriggers the handling of a parameter.- Specified by:
parameterin interfaceContentHandler- Parameters:
name- a parameter namevalue- a parameter value- Throws:
URISyntaxException- where the parameter value is not a valid URI for applicable parameters
-
DefaultContentHandler(Consumer, TimeZoneRegistry, ContentHandlerContext)