encode a string if necessary for output to a jtl file . strings are only encoded if the output version is 1.0 , but nulls are always converted to the empty string . concode_field_sep String ATT_TE_ENABLED concode_elem_sep String ATT_TE_TESTCLASS concode_elem_sep String ATT_TE_GUICLASS concode_elem_sep String inVersion concode_elem_sep String ATT_ELEMENT_TYPE concode_elem_sep String ATT_CLASS concode_elem_sep String ATT_NAME concode_elem_sep Map<String,String> propertyToAttribute concode_elem_sep String outVersion concode_elem_sep String CHAR_SET concode_elem_sep Logger log concode_elem_sep String ATT_TE_NAME concode_field_sep void saveItem concode_elem_sep String getUpgradePropertyName concode_elem_sep String getUpgradePropertyValue concode_elem_sep void restoreItem concode_elem_sep void mapentry concode_elem_sep String decode concode_elem_sep void saveSpecialProperties concode_elem_sep String cdata concode_elem_sep boolean isSpecialProperty concode_elem_sep void setInVersion concode_elem_sep void saveClass concode_elem_sep void restoreClass concode_elem_sep String getPropertyValue concode_elem_sep void setOutVersion concode_elem_sep String getPropertyName concode_elem_sep void restoreSpecialProperties
String function ( String arg0 ) { if ( arg0 == null ) { return "srini_string" ; } if ( ! "srini_string" . equals ( outVersion ) ) { return arg0 ; } try { String loc0 = URLEncoder . encode ( arg0 , CHAR_SET ) ; return loc0 ; } catch ( UnsupportedEncodingException loc0 ) { log . warn ( "srini_string" + CHAR_SET , loc0 ) ; return arg0 ; } }