ImmobiliareIT/src/main/java/org/openestate/io/immobiliare_it/ImmobiliareItUtils.java
public static ImmobiliareItDocument createDocument(Document doc) {
        if (ImmobiliareItDocument.isReadable(doc))
            return new ImmobiliareItDocument(doc);
        else
            return null;
    }
public static ImmobiliareItDocument createDocument(Document doc) {
        if (ImmobiliareItDocument.isReadable(doc))
            return new ImmobiliareItDocument(doc);
        else
            return null;
    }
public static ImmobiliareItDocument createDocument ( Document doc ) { if ( ImmobiliareItDocument . isReadable ( doc ) ) return new ImmobiliareItDocument ( doc ) ; else return null ; }
Creates a {@link ImmobiliareItDocument} 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 ImmobiliareItDocument } from a { @link Document } .