Package net.fortuna.ical4j.data
Interface ContentHandler
- All Known Implementing Classes:
DefaultContentHandler
public interface ContentHandler
$Id$ [Nov 5, 2004]Implementors provide functionality applicable during the parsing of an iCalendar data stream (e.g. building an object model).
-
Method Summary
Modifier and TypeMethodDescriptionvoidTriggers the end of handling a calendar.voidendComponent(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.
-
Method Details
-
startCalendar
void startCalendar()Triggers the start of handling a calendar. -
endCalendar
Triggers the end of handling a calendar.- Throws:
IOException
-
startComponent
Triggers the start of handling a component.- Parameters:
name- a component name
-
endComponent
Triggers the end of handling a component.- Parameters:
name- a component name
-
startProperty
Triggers the start of handling a property.- Parameters:
name- a property name
-
propertyValue
Triggers the handling of a property value.- Parameters:
value- a property value- Throws:
URISyntaxException- where the property value is not a valid URI for applicable propertiesParseException- where the date value cannot be parsed for applicable propertiesIOException- where data cannot be read for applicable properties
-
endProperty
Triggers the end of handling a property.- Parameters:
name- a property name- Throws:
URISyntaxExceptionParseExceptionIOException
-
parameter
Triggers the handling of a parameter.- Parameters:
name- a parameter namevalue- a parameter value- Throws:
URISyntaxException- where the parameter value is not a valid URI for applicable parameters
-