private void parseOutputConfig ( final Node node , final ConfigSettings config ) { String name ; Long lValue ; Boolean bValue ; Node nnode ; NodeList list = node . getChildNodes ( ) ; int length = list . getLength ( ) ; for ( int i = 0 ; i < length ; i ++ ) { nnode = list . item ( i ) ; name = nnode . getNodeName ( ) . toUpperCase ( ) ; if ( name . equals ( KEY_OUTPUT_MODE ) ) { OutputType oValue = OutputType . parse ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . MODE_OUTPUT , oValue ) ; } else if ( name . equals ( KEY_PATH ) ) { String path = nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ; path = path . substring ( 1 , path . length ( ) - 1 ) ; config . setConfigParameter ( ConfigurationKeys . PATH_OUTPUT_SQL_FILES , path ) ; } else if ( name . equals ( KEY_OUTPUT_DATAFILE ) ) { bValue = Boolean . parseBoolean ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . MODE_DATAFILE_OUTPUT , bValue ) ; } else if ( name . equals ( KEY_LIMIT_SQL_FILE_SIZE ) ) { lValue = Long . parseLong ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . LIMIT_SQL_FILE_SIZE , lValue ) ; } else if ( name . equals ( KEY_LIMIT_SQL_ARCHIVE_SIZE ) ) { lValue = Long . parseLong ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . LIMIT_SQL_ARCHIVE_SIZE , lValue ) ; } else if ( name . equals ( KEY_MODE_ZIP_COMPRESSION_ENABLED ) ) { bValue = Boolean . parseBoolean ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . MODE_ZIP_COMPRESSION_ENABLED , bValue ) ; } else if ( name . equals ( KEY_MODE_BINARY_OUTPUT_ENABLED ) ) { bValue = Boolean . parseBoolean ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . MODE_BINARY_OUTPUT_ENABLED , bValue ) ; } else if ( name . equals ( SUBSECTION_SQL ) ) { parseSQLConfig ( nnode , config ) ; } } }
Parses the output parameter section .