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

Examples of org.springframework.ide.eclipse.quickfix.validator.helper.BeanPropertyHelper


      ctorHelper.setValue(new RuntimeBeanReference(text));
      element = ctorHelper;
    }
    else if (parent.getLocalName().equals(BeansSchemaConstants.ELEM_PROPERTY)
        && attribute.getLocalName().equals(BeansSchemaConstants.ATTR_REF)) {
      BeanPropertyHelper propertyHelper = new BeanPropertyHelper(parent, file, parentBean);
      propertyHelper.setValue(new RuntimeBeanReference(text));
      element = propertyHelper;
    }

    return element;
  }
View Full Code Here


    BeanHelper parentBean = new BeanHelper(parentBeanNode, file, project);

    BeansValidationContextHelper context = new BeansValidationContextHelper(attribute, parent, contextElement,
        project, reporter, validator, QuickfixProcessorFactory.PROPERTY, false, reportError, config);
    BeanPropertyHelper property = new BeanPropertyHelper(parent, file, parentBean);

    if (propertyRule != null) {
      context.setCurrentRuleDefinition(propertyRuleDefinition);
      propertyRule.validate(property, context, null);
    }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.quickfix.validator.helper.BeanPropertyHelper

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.