This intention extracts an existing Java or XML string to a resource