OpenImmo/src/main/java/org/openestate/io/openimmo/OpenImmoTransferDocument.java
public static boolean isReadable(Document doc) {
        Element root = XmlUtils.getRootElement(doc);
        return "openimmo".equals(root.getLocalName());
    }
public static boolean isReadable(Document doc) {
        Element root = XmlUtils.getRootElement(doc);
        return "openimmo".equals(root.getLocalName());
    }
public static boolean isReadable ( Document doc ) { Element root = XmlUtils . getRootElement ( doc ) ; return "openimmo" . equals ( root . getLocalName ( ) ) ; }
Checks, if a {@link Document} is readable as a
{@link OpenImmoTransferDocument}.

@param doc document to check
@return true, if the document is usable, otherwise false
Checks if a { @link Document } is readable as a { @link OpenImmoTransferDocument } .