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).
Modifier and Type | Method and Description |
---|---|
void |
endCalendar()
Triggers the end of handling a calendar.
|
void |
endComponent(String name)
Triggers the end of handling a component.
|
void |
endProperty(String name)
Triggers the end of handling a property.
|
void |
parameter(String name,
String value)
Triggers the handling of a parameter.
|
void |
propertyValue(String value)
Triggers the handling of a property value.
|
void |
startCalendar()
Triggers the start of handling a calendar.
|
void |
startComponent(String name)
Triggers the start of handling a component.
|
void |
startProperty(String name)
Triggers the start of handling a property.
|
void startCalendar()
void endCalendar() throws IOException
IOException
void startComponent(String name)
name
- a component namevoid endComponent(String name)
name
- a component namevoid startProperty(String name)
name
- a property namevoid propertyValue(String value) throws URISyntaxException, ParseException, IOException
value
- a property valueURISyntaxException
- 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 propertiesvoid endProperty(String name) throws URISyntaxException, ParseException, IOException
name
- a property nameURISyntaxException
ParseException
IOException
void parameter(String name, String value) throws URISyntaxException
name
- a parameter namevalue
- a parameter valueURISyntaxException
- where the parameter value is not a valid URI for applicable parameters