public T deserialize ( InputStream stream ) { if ( stream == null ) { throw new RuntimeException ( "Stream cannot be null" ) ; } else { return deserialize ( new StreamSource ( stream ) ) ; } }
De - serializes XML from an InputStream into an object structure .