public class DefaultContentHandler extends java.lang.Object implements ContentHandler
| Constructor and Description |
|---|
DefaultContentHandler(java.util.function.Consumer<Calendar> consumer,
TimeZoneRegistry tzRegistry) |
DefaultContentHandler(java.util.function.Consumer<Calendar> consumer,
TimeZoneRegistry tzRegistry,
java.util.function.Supplier<java.util.List<ParameterFactory<?>>> parameterFactorySupplier,
java.util.function.Supplier<java.util.List<PropertyFactory<?>>> propertyFactorySupplier,
java.util.function.Supplier<java.util.List<ComponentFactory<?>>> componentFactorySupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
endCalendar()
Triggers the end of handling a calendar.
|
void |
endComponent(java.lang.String name)
Triggers the end of handling a component.
|
void |
endProperty(java.lang.String name)
Triggers the end of handling a property.
|
void |
parameter(java.lang.String name,
java.lang.String value)
Triggers the handling of a parameter.
|
void |
propertyValue(java.lang.String value)
Triggers the handling of a property value.
|
void |
startCalendar()
Triggers the start of handling a calendar.
|
void |
startComponent(java.lang.String name)
Triggers the start of handling a component.
|
void |
startProperty(java.lang.String name)
Triggers the start of handling a property.
|
public DefaultContentHandler(java.util.function.Consumer<Calendar> consumer, TimeZoneRegistry tzRegistry)
public DefaultContentHandler(java.util.function.Consumer<Calendar> consumer, TimeZoneRegistry tzRegistry, java.util.function.Supplier<java.util.List<ParameterFactory<?>>> parameterFactorySupplier, java.util.function.Supplier<java.util.List<PropertyFactory<?>>> propertyFactorySupplier, java.util.function.Supplier<java.util.List<ComponentFactory<?>>> componentFactorySupplier)
public void startCalendar()
ContentHandlerstartCalendar in interface ContentHandlerpublic void endCalendar()
throws java.io.IOException
ContentHandlerendCalendar in interface ContentHandlerjava.io.IOExceptionpublic void startComponent(java.lang.String name)
ContentHandlerstartComponent in interface ContentHandlername - a component namepublic void endComponent(java.lang.String name)
ContentHandlerendComponent in interface ContentHandlername - a component namepublic void startProperty(java.lang.String name)
ContentHandlerstartProperty in interface ContentHandlername - a property namepublic void propertyValue(java.lang.String value)
ContentHandlerpropertyValue in interface ContentHandlervalue - a property valuepublic void endProperty(java.lang.String name)
throws java.net.URISyntaxException,
java.text.ParseException,
java.io.IOException
ContentHandlerendProperty in interface ContentHandlername - a property namejava.net.URISyntaxExceptionjava.text.ParseExceptionjava.io.IOExceptionpublic void parameter(java.lang.String name,
java.lang.String value)
throws java.net.URISyntaxException
ContentHandlerparameter in interface ContentHandlername - a parameter namevalue - a parameter valuejava.net.URISyntaxException - where the parameter value is not a valid URI for applicable parameters