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

Examples of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.BeanAliasRule


      beanAlias = new BeanAlias(config, definition);
    }

    IProject project = file.getProject();
    ValidationRuleDefinition ruleDefinition = getValidationRule(project, BeanAliasRule.class);
    BeanAliasRule aliasRule = (BeanAliasRule) (ruleDefinition != null ? ruleDefinition.getRule() : null);

    BeansValidationContextHelper context = new BeansValidationContextHelper(attribute, parent, contextElement,
        project, reporter, validator, QuickfixProcessorFactory.ALIAS, false, reportError, config);

    if (aliasRule != null) {
      aliasRule.validate(beanAlias, context, null);
    }

    return context.getErrorFound();
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.BeanAliasRule

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.