DaftIE/src/main/java/org/openestate/io/daft_ie/DaftIeDocument.java
@Override
    public Daft toObject() throws JAXBException {
        this.upgradeToLatestVersion();
        return (Daft) DaftIeUtils.createUnmarshaller().unmarshal(this.getDocument());
    }
@Override
    public Daft toObject() throws JAXBException {
        this.upgradeToLatestVersion();
        return (Daft) DaftIeUtils.createUnmarshaller().unmarshal(this.getDocument());
    }
Creates a {@link Daft} object from the contained {@link Document}.

@return created object, that represents the &lt;daft&gt; root element
@throws JAXBException if a problem with JAXB occurred