Class XHtmlPage

All Implemented Interfaces:
Serializable, Cloneable, Page, Document, Node

public class XHtmlPage extends HtmlPage
A representation of an XHTML page returned from a server.
See Also:
  • Constructor Details

    • XHtmlPage

      public XHtmlPage(WebResponse webResponse, WebWindow webWindow)
      Creates a new XHTML page instance. An XHTML page instance is normally retrieved with WebClient.getPage(String).
      Parameters:
      webResponse - the web response that was used to create this page
      webWindow - the window that this page is being loaded into
  • Method Details

    • hasCaseSensitiveTagNames

      public boolean hasCaseSensitiveTagNames()
      Returns true if this page has case-sensitive tag names, false otherwise. In general, XML has case-sensitive tag names, and HTML doesn't. This is especially important during XPath matching.
      Overrides:
      hasCaseSensitiveTagNames in class HtmlPage
      Returns:
      true if this page has case-sensitive tag names, false otherwise