|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.xml.XmlUtil
public final class XmlUtil
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Provides facility method to work with xml responses.
Method Summary | |
---|---|
static org.w3c.dom.Document |
buildDocument(WebResponse webResponse)
Builds a document from the content of the webresponse. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.w3c.dom.Document buildDocument(WebResponse webResponse) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
webResponse
- The response from the server
java.io.IOException
- If the page could not be created
org.xml.sax.SAXException
- if the parsing fails
javax.xml.parsers.ParserConfigurationException
- if a DocumentBuilder cannot be created
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |