net.fortuna.ical4j.vcard.validate.DeliveryPropertyValidators Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ical4j-vcard Show documentation
Show all versions of ical4j-vcard Show documentation
Support for the vCard specification
The newest version!
package net.fortuna.ical4j.vcard.validate;
import net.fortuna.ical4j.validate.PropertyValidator;
import net.fortuna.ical4j.validate.ValidationRule;
import net.fortuna.ical4j.validate.Validator;
import net.fortuna.ical4j.vcard.ParameterName;
import net.fortuna.ical4j.vcard.PropertyName;
import net.fortuna.ical4j.vcard.property.Address;
import static net.fortuna.ical4j.validate.ValidationRule.ValidationType.OneOrLess;
import static net.fortuna.ical4j.vcard.ParameterName.*;
public interface DeliveryPropertyValidators extends PropertyValidatorSupport {
Validator ADDRESS = new PropertyValidator<>(PropertyName.ADR.toString(),
new ValidationRule<>(OneOrLess, VALUE.toString(), ParameterName.LABEL.toString(),
LANGUAGE.toString(), GEO.toString(), TZ.toString(),
ALTID.toString(), PID.toString(), PREF.toString(),
TYPE.toString()),
TEXT_VALUE);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy