package org.simpleflatmapper.map;
import org.simpleflatmapper.map.context.MappingContextFactory;
public class MappingContext<S> {
public static final MappingContext INSTANCE = new MappingContext();
public static final MappingContextFactory EMPTY_FACTORY = new MappingContextFactory() {
@Override
public MappingContext newContext() {
return INSTANCE;
}
};
public boolean broke(S source) {
return true;
}
public void markAsBroken() {
}
public <T> T context(int i) {
return null;
}
public void setCurrentValue(int i, Object value) {
}
public Object getCurrentValue(int i) {
return null;
}
}