net.fortuna.ical4j.data
Interface ContentHandler


public interface ContentHandler

 $Id: ContentHandler.java,v 1.13 2011/02/20 03:12:32 fortuna Exp $ [Nov 5,
 2004]
 
Implementors provide functionality applicable during the parsing of an iCalendar data stream (e.g. building an object model).

Author:
Ben Fortuna

Method Summary
 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.
 

Method Detail

startCalendar

void startCalendar()
Triggers the start of handling a calendar.


endCalendar

void endCalendar()
Triggers the end of handling a calendar.


startComponent

void startComponent(java.lang.String name)
Triggers the start of handling a component.

Parameters:
name - a component name

endComponent

void endComponent(java.lang.String name)
Triggers the end of handling a component.

Parameters:
name - a component name

startProperty

void startProperty(java.lang.String name)
Triggers the start of handling a property.

Parameters:
name - a property name

propertyValue

void propertyValue(java.lang.String value)
                   throws java.net.URISyntaxException,
                          java.text.ParseException,
                          java.io.IOException
Triggers the handling of a property value.

Parameters:
value - a property value
Throws:
java.net.URISyntaxException - where the property value is not a valid URI for applicable properties
java.text.ParseException - where the date value cannot be parsed for applicable properties
java.io.IOException - where data cannot be read for applicable properties

endProperty

void endProperty(java.lang.String name)
Triggers the end of handling a property.

Parameters:
name - a property name

parameter

void parameter(java.lang.String name,
               java.lang.String value)
               throws java.net.URISyntaxException
Triggers the handling of a parameter.

Parameters:
name - a parameter name
value - a parameter value
Throws:
java.net.URISyntaxException - where the parameter value is not a valid URI for applicable parameters


Copyright © 2004-2011 Modularity. All Rights Reserved.