OpenImmo/src/main/java/org/openestate/io/openimmo/OpenImmoUtils.java
public static OpenImmoDocument createDocument(File xmlFile) throws SAXException, IOException, ParserConfigurationException {
        return createDocument(XmlUtils.newDocument(xmlFile, true));
    }
public static OpenImmoDocument createDocument(File xmlFile) throws SAXException, IOException, ParserConfigurationException {
        return createDocument(XmlUtils.newDocument(xmlFile, true));
    }
public static OpenImmoDocument createDocument ( File xmlFile ) throws SAXException , IOException , ParserConfigurationException { return createDocument ( XmlUtils . newDocument ( xmlFile , true ) ) ; }
Creates a {@link OpenImmoDocument} from a {@link File}.

@param xmlFile XML file
@return created document or null, of the document is not supported by this format
@throws SAXException                 if XML is invalid
@throws IOException                  if reading failed
@throws ParserConfigurationException if the parser is not properly configured
Creates a { @link OpenImmoDocument } from a { @link File } .