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(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.
|
void startCalendar()
void endCalendar() throws java.io.IOException
java.io.IOException
void startComponent(java.lang.String name)
name
- a component namevoid endComponent(java.lang.String name)
name
- a component namevoid startProperty(java.lang.String name)
name
- a property namevoid propertyValue(java.lang.String value) throws java.net.URISyntaxException, java.text.ParseException, java.io.IOException
value
- a property valuejava.net.URISyntaxException
- where the property value is not a valid URI for applicable propertiesjava.text.ParseException
- where the date value cannot be parsed for applicable propertiesjava.io.IOException
- where data cannot be read for applicable propertiesvoid endProperty(java.lang.String name) throws java.net.URISyntaxException, java.text.ParseException, java.io.IOException
name
- a property namejava.net.URISyntaxException
java.text.ParseException
java.io.IOException
void parameter(java.lang.String name, java.lang.String value) throws java.net.URISyntaxException
name
- a parameter namevalue
- a parameter valuejava.net.URISyntaxException
- where the parameter value is not a valid URI for applicable parameters