Top Description Fields Constructors Methods
net.fortuna.ical4j.validate

public final Class PropertyValidator<T extends Property>

extends AbstractValidator<T extends Property>
Class Inheritance
Imports
net.fortuna.ical4j.model.Parameter, .Property, net.fortuna.ical4j.model.parameter.Encoding, .Value, net.fortuna.ical4j.model.property.*, java.util.List, .Optional

$Id$ [15-May-2004] Defines methods for validating properties and property lists.
Author
Ben Fortuna

Field Summary

Modifier and TypeField and Description
public static final ValidationRule<Property>
public static final Validator<BusyType>
public static final Validator<Country>
public static final ValidationRule<Property>
public static final PropertyRuleSet<DateProperty<?>>
DATE_PROP_RULE_SET

          FORM #3: DATE WITH LOCAL TIME AND TIME ZONE REFERENCE

      The date and local time with reference to time zone information is
      identified by the use the "TZID" property parameter to reference
      the appropriate time zone definition.
public static final Validator<LocationType>
public static final Validator<Region>
public static final Validator<RequestStatus>
REQUEST_STATUS

       Format Definition:  This property is defined by the following
      notation:

       rstatus    = "REQUEST-STATUS" rstatparam ":"
                    statcode ";" statdesc [";" extdata]

       rstatparam = *(
                  ;
                  ; The following is OPTIONAL,
                  ; but MUST NOT occur more than once.
public static final Validator<StructuredData>
public static final Validator<StyledDescription>
public static final Validator<Tel>
public static final PropertyRuleSet<Property>
UTC_PROP_RULE_SET

          FORM #2: DATE WITH UTC TIME

      The date with UTC time, or absolute time, is identified by a LATIN
      CAPITAL LETTER Z suffix character, the UTC designator, appended to
      the time value.
public static final Validator<Xml>
public static final Validator<Xml>

Constructor Summary

AccessConstructor and Description
public
PropertyValidator(String context, ValidationRule<? super T>... rules)

public
PropertyValidator(String context, List<PropertyRuleSet<? super T>> rulesets)

Method Summary

Inherited from net.fortuna.ical4j.validate.AbstractValidator:
validate

Field Detail

BINARY_VALUEback to summary
public static final ValidationRule<Property> BINARY_VALUE
BUSY_TYPEback to summary
public static final Validator<BusyType> BUSY_TYPE
COUNTRYback to summary
public static final Validator<Country> COUNTRY
DATE_OR_DATETIME_VALUEback to summary
public static final ValidationRule<Property> DATE_OR_DATETIME_VALUE
DATE_PROP_RULE_SETback to summary
public static final PropertyRuleSet<DateProperty<?>> DATE_PROP_RULE_SET
          FORM #3: DATE WITH LOCAL TIME AND TIME ZONE REFERENCE

      The date and local time with reference to time zone information is
      identified by the use the "TZID" property parameter to reference
      the appropriate time zone definition.  "TZID" is discussed in
      detail in Section 3.2.19.  For example, the following represents
      2:00 A.M. in New York on January 19, 1998:

       TZID=America/New_York:19980119T020000
LOCATION_TYPEback to summary
public static final Validator<LocationType> LOCATION_TYPE
REGIONback to summary
public static final Validator<Region> REGION
REQUEST_STATUSback to summary
public static final Validator<RequestStatus> REQUEST_STATUS
       Format Definition:  This property is defined by the following
      notation:

       rstatus    = "REQUEST-STATUS" rstatparam ":"
                    statcode ";" statdesc [";" extdata]

       rstatparam = *(
                  ;
                  ; The following is OPTIONAL,
                  ; but MUST NOT occur more than once.
                  ;
                  (";" languageparam) /
                  ;
                  ; The following is OPTIONAL,
                  ; and MAY occur more than once.
                  ;
                  (";" other-param)
                  ;
                  )

       statcode   = 1*DIGIT 1*2("." 1*DIGIT)
       ;Hierarchical, numeric return status code

       statdesc   = text
       ;Textual status description

       extdata    = text
       ;Textual exception data.  For example, the offending property
       ;name and value or complete property line.
STRUCTURED_DATAback to summary
public static final Validator<StructuredData> STRUCTURED_DATA
STYLED_DESCRIPTIONback to summary
public static final Validator<StyledDescription> STYLED_DESCRIPTION
TELback to summary
public static final Validator<Tel> TEL
UTC_PROP_RULE_SETback to summary
public static final PropertyRuleSet<Property> UTC_PROP_RULE_SET
          FORM #2: DATE WITH UTC TIME

      The date with UTC time, or absolute time, is identified by a LATIN
      CAPITAL LETTER Z suffix character, the UTC designator, appended to
      the time value.  For example, the following represents January 19,
      1998, at 0700 UTC:

       19980119T070000Z

      The "TZID" property parameter MUST NOT be applied to DATE-TIME
      properties whose time values are specified in UTC.
XMLback to summary
public static final Validator<Xml> XML
XML_BINback to summary
public static final Validator<Xml> XML_BIN

Constructor Detail

PropertyValidatorback to summary
public PropertyValidator(String context, ValidationRule<? super T>... rules)
Annotations
@SafeVarargs
PropertyValidatorback to summary
public PropertyValidator(String context, List<PropertyRuleSet<? super T>> rulesets)