private void parseInputConfig ( final Node node , final ConfigSettings config ) { String name , value ; 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_WIKIPEDIA_ENCODING ) ) { value = nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ; config . setConfigParameter ( ConfigurationKeys . WIKIPEDIA_ENCODING , value ) ; } else if ( name . equals ( KEY_MODE_SURROGATES ) ) { SurrogateModes oValue = SurrogateModes . parse ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . MODE_SURROGATES , oValue ) ; } else if ( name . equals ( SUBSECTION_ARCHIVE ) ) { parseInputArchive ( nnode , config ) ; } } }
Parses the input parameter section .