Package org.springframework.ide.eclipse.beans.core.internal.model.validation.rules

Examples of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.NamespaceElementsRule$BlueprintInterfaceAttributeValidator


      AttrImpl attribute, IDOMNode parent, IReporter reporter, boolean reportError,
      BeansEditorValidator validator, String text) {
    IProject project = file.getProject();

    ValidationRuleDefinition ruleDefinition = getValidationRule(project, NamespaceElementsRule.class);
    NamespaceElementsRule rule = (NamespaceElementsRule) (ruleDefinition != null ? ruleDefinition.getRule() : null);

    if (rule != null) {

      boolean errorFound = false;
      BeanReferenceXmlValidationContextHelper context = new BeanReferenceXmlValidationContextHelper(validator,
          attribute, parent, file, config, contextElement, reporter, reportError);
      String attributeName = attribute.getName();
      context.setCurrentRuleDefinition(ruleDefinition);
      rule.validate(parent, attributeName, context);

      errorFound |= context.getErrorFound();

      if (errorFound) {
        return true;
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.NamespaceElementsRule$BlueprintInterfaceAttributeValidator

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.