public static void translate ( Struct sct ) { Iterator < Entry < Key , Object > > it = sct . entryIterator ( ) ; Entry < Key , Object > e ; Object value ; while ( it . hasNext ( ) ) { e = it . next ( ) ; value = e . getValue ( ) ; if ( value instanceof String ) { sct . setEL ( e . getKey ( ) , translate ( ( String ) value ) ) ; } } }
translate all strig values of the struct i script - protected form