.class public Lcom/amazonaws/util/XmlUtils; .super Ljava/lang/Object; .source "XmlUtils.java" # direct methods .method public constructor ()V .locals 0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static parse(Ljava/io/InputStream;Lorg/xml/sax/ContentHandler;)Lorg/xml/sax/XMLReader; .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Lorg/xml/sax/SAXException;, Ljava/io/IOException; } .end annotation .line 1 invoke-static {}, Lorg/xml/sax/helpers/XMLReaderFactory;->createXMLReader()Lorg/xml/sax/XMLReader; move-result-object v0 .line 2 invoke-interface {v0, p1}, Lorg/xml/sax/XMLReader;->setContentHandler(Lorg/xml/sax/ContentHandler;)V .line 3 new-instance p1, Lorg/xml/sax/InputSource; invoke-direct {p1, p0}, Lorg/xml/sax/InputSource;->(Ljava/io/InputStream;)V invoke-interface {v0, p1}, Lorg/xml/sax/XMLReader;->parse(Lorg/xml/sax/InputSource;)V .line 4 invoke-virtual {p0}, Ljava/io/InputStream;->close()V return-object v0 .end method