public void initialize ( ) { try { if ( tidyInstance == null ) { tidyInstance = new Tidy ( ) ; tidyInstance . setXHTML ( true ) ; tidyInstance . setShowWarnings ( false ) ; tidyInstance . setQuiet ( true ) ; tidyInstance . setEscapeCdata ( true ) ; tidyInstance . setTidyMark ( false ) ; if ( tidyConfiguration != null ) { tidyInstance . setConfigurationFromFile ( tidyConfiguration . getFile ( ) . getAbsolutePath ( ) ) ; } } } catch ( IOException e ) { throw new CitrusRuntimeException ( "Failed to initialize XHTML tidy instance" ) ; } }
Initialize tidy from configuration .