question: public static Response parseXML ( String xml ) throws SAMLException { Document doc = XMLUtils . toDOMDocument ( xml , SAMLUtils . debug ) ; Element root = doc . getDocumentElement ( ) ; return new Response ( root ) ; }
target:  Returns Response object based on the XML document received from server. This method is used primarily at the client side. The schema of the XML document is describe above.