ObjectModelFactory objectModelFactory = getObjectModelFactory(expectedType, file, tRoot);
if (objectModelFactory == null)
log.warn("ObjectModelFactory factory is null, expectedType=" + expectedType + ", file=" + file);
InputSource source = new VFSInputSource(file);
return getHelper().parse(expectedType, source, tRoot, objectModelFactory);
}