IS24-XML/src/main/java/org/openestate/io/is24_xml/Is24XmlUtils.java
public static Is24XmlDocument createDocument(Document doc) {
        if (Is24XmlDocument.isReadable(doc))
            return new Is24XmlDocument(doc);
        else
            return null;
    }
public static Is24XmlDocument createDocument(Document doc) {
        if (Is24XmlDocument.isReadable(doc))
            return new Is24XmlDocument(doc);
        else
            return null;
    }
Creates a {@link Is24XmlDocument} from a {@link Document}.

@param doc XML document
@return created document or null, of the document is not supported by this format