Example usage for org.springframework.beans BeanWrapperImpl BeanWrapperImpl

List of usage examples for org.springframework.beans BeanWrapperImpl BeanWrapperImpl

Introduction

In this page you can find the example usage for org.springframework.beans BeanWrapperImpl BeanWrapperImpl.

Prototype

private BeanWrapperImpl(Object object, String nestedPath, BeanWrapperImpl parent) 

Source Link

Document

Create a new BeanWrapperImpl for the given object, registering a nested path that the object is in.

Usage

From source file:org.springframework.beans.BeanWrapperImpl.java

/**
 * Create a new nested BeanWrapper instance.
 * <p>Default implementation creates a BeanWrapperImpl instance.
 * Can be overridden in subclasses to create a BeanWrapperImpl subclass.
 * @param object object wrapped by this BeanWrapper
 * @param nestedPath the nested path of the object
 * @return the nested BeanWrapper instance
 *//*w  w  w. java 2 s  .c  o m*/
protected BeanWrapperImpl newNestedBeanWrapper(Object object, String nestedPath) {
    return new BeanWrapperImpl(object, nestedPath, this);
}