MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / getXmlDocument

Method getXmlDocument

src/main/java/org/htmlunit/xml/XmlPage.java:170–175  ·  view source on GitHub ↗

Returns the DOM representation of the XML content. @return null if the content couldn't be parsed

()

Source from the content-addressed store, hash-verified

168 * @return {@code null} if the content couldn't be parsed
169 */
170 public Document getXmlDocument() {
171 if (node_ != null) {
172 return node_.getOwnerDocument();
173 }
174 return null;
175 }
176
177 /**
178 * {@inheritDoc}

Callers 8

namespaceMethod · 0.95
validDocumentMethod · 0.95
defaultEncodingMethod · 0.95
testDocumentMethod · 0.95
invalidDocumentMethod · 0.95
emptyDocumentMethod · 0.95
blankDocumentMethod · 0.95
voiceXMLMethod · 0.95

Calls 1

getOwnerDocumentMethod · 0.45

Tested by 8

namespaceMethod · 0.76
validDocumentMethod · 0.76
defaultEncodingMethod · 0.76
testDocumentMethod · 0.76
invalidDocumentMethod · 0.76
emptyDocumentMethod · 0.76
blankDocumentMethod · 0.76
voiceXMLMethod · 0.76