net.fortuna.ical4j.util
public final class ComponentValidator extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertNone(java.lang.String componentName,
ComponentList components) |
static void |
assertOneOrLess(java.lang.String componentName,
ComponentList components) |
public static void assertNone(java.lang.String componentName,
ComponentList components)
throws ValidationException
componentName - a component name used in the assertioncomponents - a list of componentsValidationException - where the assertion failspublic static void assertOneOrLess(java.lang.String componentName,
ComponentList components)
throws ValidationException
componentName - a component name used in the assertioncomponents - a list of componentsValidationException - where the assertion failsCopyright © 2004-2014 Micronode. All Rights Reserved.