public static <T>T parse(File xml,String[] xsds,String pkg,Class<T> resultClass) throws XmlParsingException, FileNotFoundException {
  return parse(new FileInputStream(xml),xml.getAbsolutePath(),xsds,pkg,resultClass);
}

public static < T > T parse ( File xml , String [ ] xsds , String pkg , Class < T > resultClass ) throws XmlParsingException , FileNotFoundException { return parse ( new FileInputStream ( xml ) , xml . getAbsolutePath ( ) , xsds , pkg , resultClass ) ; }
parses the given xml to a java model ( jaxb unmarshalling ) . performs xsd validation .
