Package org.springframework.binding.mapping

Examples of org.springframework.binding.mapping.MappingResult


    field = fixedField(field);
    // requires boundObject and expressionParser to be set to work
    if (mappingResults != null) {
      List<MappingResult> results = mappingResults.getResults(new PropertyErrorMappingResult(field));
      if (!results.isEmpty()) {
        MappingResult fieldError = results.get(0);
        return fieldError.getOriginalValue();
      }
    }
    return parseFieldExpression(field).getValue(boundObject);
  }
View Full Code Here

TOP

Related Classes of org.springframework.binding.mapping.MappingResult

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.