question: String writeConfigFileV3 ( Matsim4UrbansimConfigType m4uConfigType ) throws UncheckedIOException { try { String destination = this . dummyPath + "/test_config.xml" ; log . info ( "writing test config into: " + destination ) ; BufferedWriter bw = IOUtils . getBufferedWriter ( destination ) ; JAXBContext jaxbContext = JAXBContext . newInstance ( org . matsim . contrib . matsim4urbansim . matsim4urbansim . jaxbconfigv3 . ObjectFactory . class ) ; Marshaller m = jaxbContext . createMarshaller ( ) ; MatsimJaxbXmlWriter . setMarshallerProperties ( InternalConstants . CURRENT_MATSIM_4_URBANSIM_XSD_MATSIMORG , m ) ; org . matsim . contrib . matsim4urbansim . matsim4urbansim . jaxbconfigv3 . ObjectFactory of = new org . matsim . contrib . matsim4urbansim . matsim4urbansim . jaxbconfigv3 . ObjectFactory ( ) ; JAXBElement < Matsim4UrbansimConfigType > jaxbElement = of . createMatsim4UrbansimConfig ( m4uConfigType ) ; m . marshal ( jaxbElement , bw ) ; return destination ; } catch ( JAXBException e ) { e . printStackTrace ( ) ; Assert . assertFalse ( true ) ; } return null ; }
target:  writes the Matsim4UrbansimConfigType confing at the specified place using JAXB