Package de.odysseus.calyxo.forms.conf

Examples of de.odysseus.calyxo.forms.conf.ValidatorPropertyConfig


    // make sure that all properties exist and are not final
    Iterator propertyConfigs = getPropertyConfigs();
    while (propertyConfigs.hasNext()) {
      PropertyConfig propertyConfig = (PropertyConfig)propertyConfigs.next();
      String name = propertyConfig.getName();
      ValidatorPropertyConfig validatorPropertyConfig =
        validatorConfig.getValidatorPropertyConfig(name);
      if (validatorPropertyConfig == null) {
        throw new ConfigException("Unknown property " + name + " in '" + toInlineString() + "'");
      }
      if (validatorPropertyConfig.isFinal()) {
        throw new ConfigException("Must not override property " + name + " in '" + toInlineString() + "'");
      }
    }
    // make sure abstract validator properties are defined
//    Iterator validatorPropertyConfigs = validatorConfig.getValidatorPropertyConfigs();
View Full Code Here


    }

    Iterator propertyConfigs = null;
    propertyConfigs = validatorConfig.getValidatorPropertyConfigs();
    while (propertyConfigs.hasNext()) {
      ValidatorPropertyConfig property = (ValidatorPropertyConfig)propertyConfigs.next();
      if (property.isDefined()) {
        init(property, base);
      }
    }
    propertyConfigs = validateConfig.getPropertyConfigs();
    while (propertyConfigs.hasNext()) {
View Full Code Here

TOP

Related Classes of de.odysseus.calyxo.forms.conf.ValidatorPropertyConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.