Examples/src/main/java/org/openestate/io/examples/ImmobiliareItReadingExample.java
protected static void read(InputStream xmlInputStream) throws SAXException, IOException, ParserConfigurationException, JAXBException {
        LOGGER.info("process example file");
        ImmobiliareItDocument doc = ImmobiliareItUtils.createDocument(xmlInputStream);
        if (doc == null) {
            LOGGER.warn("> provided XML is not supported");
        } else {
            printToConsole(doc);
        }
    }
protected static void read(InputStream xmlInputStream) throws SAXException, IOException, ParserConfigurationException, JAXBException {
        LOGGER.info("process example file");
        ImmobiliareItDocument doc = ImmobiliareItUtils.createDocument(xmlInputStream);
        if (doc == null) {
            LOGGER.warn("> provided XML is not supported");
        } else {
            printToConsole(doc);
        }
    }
protected static void read ( InputStream xmlInputStream ) throws SAXException , IOException , ParserConfigurationException , JAXBException { LOGGER . info ( "process example file" ) ; ImmobiliareItDocument doc = ImmobiliareItUtils . createDocument ( xmlInputStream ) ; if ( doc == null ) { LOGGER . warn ( "> provided XML is not supported" ) ; } else { printToConsole ( doc ) ; } }
Read a {@link InputStream} into an {@link ImmobiliareItDocument} and print
some of its content to console.

@param xmlInputStream the input stream to read
@throws SAXException                 if the file is not readable by the XML parser
@throws IOException                  if the file is not readable
@throws ParserConfigurationException if the XML parser is improperly configured
@throws JAXBException                if XML conversion into Java objects failed
Read a { @link InputStream } into an { @link ImmobiliareItDocument } and print some of its content to console .