private Map < String , Element > cloneElementMap ( final Map < String , Element > current ) { final Map < String , Element > topicMetaTable = new HashMap <> ( 16 ) ; for ( final Entry < String , Element > topicMetaItem : current . entrySet ( ) ) { topicMetaTable . put ( topicMetaItem . getKey ( ) , ( Element ) resultDoc . importNode ( topicMetaItem . getValue ( ) , true ) ) ; } return topicMetaTable ; }
Clone metadata map .