public static StringBuffer addXMLMap ( StringBuffer sbXML , Map < String , Object > mapMessage ) { if ( sbXML == null ) sbXML = new StringBuffer ( ) ; if ( mapMessage != null ) { for ( String strParam : mapMessage . keySet ( ) ) { Object objValue = mapMessage . get ( strParam ) ; if ( objValue != null ) Util . getXML ( sbXML , strParam , objValue ) ; } } return sbXML ; }
Add this map as an xml string .