WisIT/src/main/java/org/openestate/io/wis_it/WisItUtils.java
public static WisItDocument createDocument(Document doc) {
        if (WisItDocument.isReadable(doc))
            return new WisItDocument(doc);
        else
            return null;
    }
public static WisItDocument createDocument(Document doc) {
        if (WisItDocument.isReadable(doc))
            return new WisItDocument(doc);
        else
            return null;
    }
public static WisItDocument createDocument ( Document doc ) { if ( WisItDocument . isReadable ( doc ) ) return new WisItDocument ( doc ) ; else return null ; }
Creates a {@link WisItDocument} from a {@link Document}.

@param doc XML document
@return created document or null, of the document is not supported by this format
Creates a { @link WisItDocument } from a { @link Document } .