Kyero/src/main/java/org/openestate/io/kyero/KyeroUtils.java
public static KyeroDocument createDocument(Document doc) {
        if (KyeroDocument.isReadable(doc))
            return new KyeroDocument(doc);
        else
            return null;
    }
public static KyeroDocument createDocument(Document doc) {
        if (KyeroDocument.isReadable(doc))
            return new KyeroDocument(doc);
        else
            return null;
    }
Creates a {@link KyeroDocument} from a {@link Document}.

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