Interface Rfc5545Rule<T>

Type Parameters:
T - type of the element this rule can be applied to
All Known Subinterfaces:
Rfc5545ComponentRule<T>, Rfc5545PropertyRule<T>
All Known Implementing Classes:
AttendeePropertyRule, CreatedPropertyRule, DateListPropertyRule, DatePropertyRule, DTStampRule, TzIdRule, VAlarmRule, VEventRule

public interface Rfc5545Rule<T>
Incarnation of a RFC5545 rule.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyTo(T element)
    Applies this rule to the specified element.
    Gets the class of the elements this rule can be applied to.
  • Method Details

    • applyTo

      void applyTo(T element)
      Applies this rule to the specified element.
      Parameters:
      element -
    • getSupportedType

      Class<T> getSupportedType()
      Gets the class of the elements this rule can be applied to.
      Returns:
      the class of the elements this rule can be applied to