org.sfm.csv.impl.DelegateMarkerSetter Maven / Gradle / Ivy
Show all versions of simpleFlatMapper Show documentation
package org.sfm.csv.impl;
import org.sfm.reflect.Setter;
public class DelegateMarkerSetter implements CellSetter {
private final CsvMapperImpl mapper;
private final Setter setter;
private final int parent;
public DelegateMarkerSetter(CsvMapperImpl mapper, Setter setter, int parent) {
this.mapper = mapper;
this.setter = setter;
this.parent = parent;
}
@Override
public void set(T target, char[] chars, int offset, int length, ParsingContext parsingContext)
throws Exception {
throw new UnsupportedOperationException();
}
public CsvMapperImpl getMapper() {
return mapper;
}
public Setter getSetter() {
return setter;
}
public int getParent() {
return parent;
}
@Override
public String toString() {
return "DelegateMarkerSetter{" +
"mapper=" + mapper +
", setter=" + setter +
'}';
}
}