public static String tagSwap(String content,Map<String,String> tagSwapMap){
  for (  Map.Entry<String,String> entry : tagSwapMap.entrySet()) {
    content=content.replace(entry.getKey(),entry.getValue());
  }
  return content;
}

public static String tagSwap ( String content , Map < String , String > tagSwapMap ) { for ( Map . Entry < String , String > entry : tagSwapMap . entrySet ( ) ) { content = content . replace ( entry . getKey ( ) , entry . getValue ( ) ) ; } return content ; }
swaps content with tags with the provided tag values .
