I am having an HashMap . the key for this hashmap is of type java.lang.reflect.Method.The value is of type String. Now I want to store this HashMap in an permanent location .Say an XML file .
while writing to XML file using DOM parset I have to convert both the fields i.e key and value to string to create a node . while retriving the value from XML file by parsing I get both the key and value in the form of String but I need Key in the form of java.lang.reflect.Method type . how can I get this .