public static Map<String, String> retrieveOverwriteElements(Element element) {
        Map<String, String> overwrites = new HashMap<String, String>();
        NodeList elementsByTagName = element.getElementsByTagNameNS("*", "overwrite");
        for (int i = 0; i < elementsByTagName.getLength(); i++) {
            Element overwrite = (Element) elementsByTagName.item(i);
            String originalBeanId = overwrite.getAttribute("originalBeanId");
            String newBeanId = overwrite.getAttribute("newBeanId");
            overwrites.put(originalBeanId, newBeanId);
        }
        return overwrites;
    }
public static Map < String , String > retrieveOverwriteElements ( Element element ) { Map < String , String > overwrites = new HashMap < String , String > ( ) ; NodeList elementsByTagName = element . getElementsByTagNameNS ( "*" , "overwrite" ) ; for ( int i = 0 ; i < elementsByTagName . getLength ( ) ; i ++ ) { Element overwrite = ( Element ) elementsByTagName . item ( i ) ; String originalBeanId = overwrite . getAttribute ( "originalBeanId" ) ; String newBeanId = overwrite . getAttribute ( "newBeanId" ) ; overwrites . put ( originalBeanId , newBeanId ) ; } return overwrites ; }
<p>retrieveOverwriteElements.</p>

@param element a {@link org.w3c.dom.Element} object.
@return a {@link java.util.Map} object.