com.github.phantomthief.view.mapper.impl.ForwardingViewMapper Maven / Gradle / Ivy
/**
*
*/
package com.github.phantomthief.view.mapper.impl;
import com.github.phantomthief.view.mapper.ViewMapper;
/**
* Abstract ForwardingViewMapper class.
*
* @author w.vela
* @version $Id: $Id
*/
public abstract class ForwardingViewMapper implements ViewMapper {
private final ViewMapper delegate;
/**
* Constructor for ForwardingViewMapper.
*
* @param delegate a {@link com.github.phantomthief.view.mapper.ViewMapper} object.
*/
protected ForwardingViewMapper(ViewMapper delegate) {
this.delegate = delegate;
}
/**
* map.
*
* @param model a M object.
* @param buildContext a B object.
* @param a M object.
* @param a V object.
* @param a B object.
* @return a V object.
*/
public V map(M model, B buildContext) {
return delegate.map(model, buildContext);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy