Class CalendarComponent

    • Constructor Detail

      • CalendarComponent

        public CalendarComponent​(String name)
        Parameters:
        name - component name
      • CalendarComponent

        public CalendarComponent​(String name,
                                 PropertyList properties)
        Parameters:
        name - component name
        properties - component properties
    • Method Detail

      • validate

        public final void validate​(Method method)
                            throws ValidationException
        Performs method-specific ITIP validation.
        Parameters:
        method - the applicable method
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • getValidator

        protected abstract Validator<CalendarComponent> getValidator​(Method method)
        Parameters:
        method - a method to validate on
        Returns:
        a validator for the specified method or null if the method is not supported
      • validatePublish

        public final void validatePublish()
                                   throws ValidationException
        Deprecated.
        Apply validation for METHOD=PUBLISH.
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • validateRequest

        public final void validateRequest()
                                   throws ValidationException
        Deprecated.
        Apply validation for METHOD=REQUEST.
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • validateReply

        public final void validateReply()
                                 throws ValidationException
        Deprecated.
        Apply validation for METHOD=REPLY.
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • validateAdd

        public final void validateAdd()
                               throws ValidationException
        Deprecated.
        Apply validation for METHOD=ADD.
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • validateCancel

        public final void validateCancel()
                                  throws ValidationException
        Deprecated.
        Apply validation for METHOD=CANCEL.
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • validateRefresh

        public final void validateRefresh()
                                   throws ValidationException
        Deprecated.
        Apply validation for METHOD=REFRESH.
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • validateCounter

        public final void validateCounter()
                                   throws ValidationException
        Deprecated.
        Apply validation for METHOD=COUNTER.
        Throws:
        ValidationException - where the component does not comply with RFC2446
      • validateDeclineCounter

        public final void validateDeclineCounter()
                                          throws ValidationException
        Deprecated.
        Apply validation for METHOD=DECLINECOUNTER.
        Throws:
        ValidationException - where the component does not comply with RFC2446