public ListVersionsHandler parseListVersionsResponse ( InputStream inputStream , final boolean shouldSDKDecodeResponse ) throws IOException { ListVersionsHandler handler = new ListVersionsHandler ( shouldSDKDecodeResponse ) ; parseXmlInputStream ( handler , sanitizeXmlDocument ( handler , inputStream ) ) ; return handler ; }
Parses a ListVersions response XML document from an input stream .