public static List < TransformationDescription > getDescriptionsFromXMLFile ( File file ) { List < TransformationDescription > desc = new ArrayList < TransformationDescription > ( ) ; try { return loadDescrtipionsFromXMLInputSource ( new InputSource ( file . getAbsolutePath ( ) ) , file . getName ( ) ) ; } catch ( Exception e ) { LOGGER . error ( "Unable to read the descriptions from file " + file . getAbsolutePath ( ) , e ) ; } return desc ; }
Scans a XML file for transformation descriptions and returns all successfully read transformation descriptions .