axml/src/main/java/fr/xgouchet/axml/AXMLParser.java
public Document parse(final InputStream inputStream)
            throws IOException, ParserConfigurationException {

        if (inputStream == null) {
            throw new NullPointerException();
        }

        DOMListener listener = new DOMListener();

        parse(inputStream, listener);

        return listener.getDocument();
    }
/**
     * Parses the given input stream and build a DOM representation of the XML document
     *
     * @param inputStream the input stream to parse (it will automatically be closed at the end of
     *                    the parsing)
     * @return the DOM representation of the document
     */
Parses the given input stream and build a DOM representation of the XML document
@param inputStream the input stream to parse (it will automatically be closed at the end of
the parsing)
@return the DOM representation of the document
Parses the given input stream and build a DOM representation of the XML document @param inputStream the input stream to parse ( it will automatically be closed at the end of the parsing ) @return the DOM representation of the document
public Document parse(final InputStream inputStream)
            throws IOException, ParserConfigurationException {
        if (inputStream == null) {
            throw new NullPointerException();
        }
        DOMListener listener = new DOMListener();
        parse(inputStream, listener);
        return listener.getDocument();
    }
public Document parse ( final InputStream inputStream ) throws IOException , ParserConfigurationException { if ( inputStream == null ) { throw new NullPointerException ( ) ; } DOMListener listener = new DOMListener ( ) ; parse ( inputStream , listener ) ; return listener . getDocument ( ) ; }
Parses the given input stream and build a DOM representation of the XML document
 @param inputStream the input stream to parse (it will automatically be closed at the end of
                    the parsing)
 @return the DOM representation of the document
Parses the given input stream and build a DOM representation of the XML document @param inputStream the input stream to parse ( it will automatically be closed at the end of the parsing ) @return the DOM representation of the document