Package de.odysseus.calyxo.forms.conf

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


    }
  }

  private ValidatorBase create(ValidateConfig validateConfig) {
    ValidatorBase base = null;
    ValidatorConfig validatorConfig = validateConfig.getValidatorConfig();
    try {
      base = (ValidatorBase)loader.loadClass(validatorConfig.getType()).newInstance();
    } catch (Exception e) {
      log.error("Could not create " + validatorConfig.getType() + " instance", e);
      return null;
    }

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

TOP

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

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.