public static < T > T unmarshal ( Class < T > cl , InputStream s ) throws JAXBException { return unmarshal ( cl , new StreamSource ( s ) ) ; }
Convert the contents of an InputStream to an object of a given class .