*
* @param mappingFile name of mapping file to locate in classpath
* @param validation whether validation is enabled or not
*/
public T castor(String mappingFile, boolean validation) {
CastorDataFormat castor = new CastorDataFormat();
castor.setMappingFile(mappingFile);
castor.setValidation(validation);
return dataFormat(castor);
}