IS24-XML/src/main/java/org/openestate/io/is24_xml/Is24XmlDocument.java
public static Is24XmlDocument newDocument(ImmobilienTransferTyp transfer) throws ParserConfigurationException, JAXBException {
        return newDocument(Is24XmlUtils.getFactory().createIS24ImmobilienTransfer(transfer));
    }
public static Is24XmlDocument newDocument(ImmobilienTransferTyp transfer) throws ParserConfigurationException, JAXBException {
        return newDocument(Is24XmlUtils.getFactory().createIS24ImmobilienTransfer(transfer));
    }
public static Is24XmlDocument newDocument ( ImmobilienTransferTyp transfer ) throws ParserConfigurationException , JAXBException { return newDocument ( Is24XmlUtils . getFactory ( ) . createIS24ImmobilienTransfer ( transfer ) ) ; }
Creates a {@link Is24XmlDocument} from a {@link ImmobilienTransferTyp}
object.

@param transfer Java object, that represents the &lt;IS24ImmobilienTransfer&gt; root
element
@return created document
@throws ParserConfigurationException if the parser is not properly configured
@throws JAXBException                if a problem with JAXB occurred
Creates a { @link Is24XmlDocument } from a { @link ImmobilienTransferTyp } object .