Module ical4j.core

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 Details

    • startCalendar

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

      void endCalendar() throws IOException
      Triggers the end of handling a calendar.
      Throws:
      IOException
    • startComponent

      void startComponent(String name)
      Triggers the start of handling a component.
      Parameters:
      name - a component name
    • endComponent

      void endComponent(String name)
      Triggers the end of handling a component.
      Parameters:
      name - a component name
    • startProperty

      void startProperty(String name)
      Triggers the start of handling a property.
      Parameters:
      name - a property name
    • propertyValue

      void propertyValue(String value)
      Triggers the handling of a property value.
      Parameters:
      value - a property value
    • endProperty

      void endProperty(String name)
      Triggers the end of handling a property.
      Parameters:
      name - a property name
    • parameter

      void parameter(String name, String value)
      Triggers the handling of a parameter.
      Parameters:
      name - a parameter name
      value - a parameter value
      Throws:
      IllegalArgumentException - where the parameter value is not a valid URI for applicable parameters