public static Request parseXML(String xml) throws SAMLException {
  Document doc=XMLUtils.toDOMDocument(xml,SAMLUtils.debug);
  Element root=doc.getDocumentElement();
  return new Request(root);
}

public static Request parseXML ( String xml ) throws SAMLException { Document doc = XMLUtils . toDOMDocument ( xml , SAMLUtils . debug ) ; Element root = doc . getDocumentElement ( ) ; return new Request ( root ) ; }
this method shall only be used at the server side to reconstruct a request object based on the xml document received from client . the schema of this xml document is described above .
