@Override
    public Openimmo toObject() throws JAXBException {
        this.upgradeToLatestVersion();
        return (Openimmo) OpenImmoUtils.createUnmarshaller().unmarshal(this.getDocument());
    }
@ Override public Openimmo toObject ( ) throws JAXBException { this . upgradeToLatestVersion ( ) ; return ( Openimmo ) OpenImmoUtils . createUnmarshaller ( ) . unmarshal ( this . getDocument ( ) ) ; }
Creates a {@link Openimmo} object from the contained {@link Document}.

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