Package org.springframework.ide.eclipse.quickfix.validator

Examples of org.springframework.ide.eclipse.quickfix.validator.BeanValidatorVisitor.visitNode()


    Set<IBeansConfig> configs = model.getConfigs(file, true);
    for (IBeansConfig config : configs) {
      Set<IResourceModelElement> contextElements = getContextElements(config);
      for (IResourceModelElement contextElement : contextElements) {
        BeanValidatorVisitor visitor = new BeanValidatorVisitor(config, contextElement, reporter, this);
        if (visitor.visitNode(node, true, true)) {
          return;
        }
      }
    }
View Full Code Here


    IDOMNode node = QuickfixTestUtil.getNode(BeansSchemaConstants.ELEM_BEAN, beanName, beansNode.getChildNodes());
    IBeansConfig config = BeansCorePlugin.getModel().getConfig(file);
    Set<IResourceModelElement> contextElements = getContextElements(config);
    for (IResourceModelElement contextElement : contextElements) {
      BeanValidatorVisitor visitor = new BeanValidatorVisitor(config, contextElement, reporter, validator);
      visitor.visitNode(node, true, true);
    }
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.