question: private static final String decodeFieldName ( final String pXmlFieldName ) { StringBuilder str = new StringBuilder ( ) ; int fieldNameLength = pXmlFieldName . length ( ) ; char currentChar ; for ( int i = 0 ; i < fieldNameLength ; i ++ ) { currentChar = pXmlFieldName . charAt ( i ) ; if ( currentChar == '-' ) { str . append ( Character . toUpperCase ( pXmlFieldName . charAt ( ++ i ) ) ) ; } else { str . append ( currentChar ) ; } } return str . toString ( ) ; }
target:  Decodes a field name from XML notation (e.g. my-field-name) to a valid Java field name (e.g. myFieldName)