public class XHtmlPage extends HtmlPage
DomNode.ChildIterator, DomNode.DescendantDomElementsIterator, DomNode.DescendantDomNodesIterator, DomNode.DescendantElementsIterator<T extends DomNode>, DomNode.DescendantHtmlElementsIterator
PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
XHtmlPage(WebResponse webResponse,
WebWindow webWindow)
Creates a new XHTML page instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasCaseSensitiveTagNames()
Returns
true if this page has case-sensitive tag names, false otherwise. |
addAutoCloseable, addHtmlAttributeChangeListener, adoptNode, checkChildHierarchy, cleanUp, clearComputedStyles, clearComputedStyles, clearComputedStylesUpToRoot, clone, cloneNode, createAttributeNS, createElement, createElementNS, createEntityReference, createProcessingInstruction, deregisterFramesIfNeeded, executeJavaScript, executeJavaScript, executeJavaScriptFunction, getActiveElement, getAnchorByHref, getAnchorByName, getAnchorByText, getAnchors, getBaseURL, getBody, getCharset, getContentType, getDocumentElement, getDocumentURI, getDOMBuilder, getDomConfig, getElementById, getElementByName, getElementFromPoint, getElementsById, getElementsByIdAndOrName, getElementsByName, getFocusedElement, getFormByName, getForms, getFrameByName, getFrames, getFullyQualifiedUrl, getHead, getHtmlElementByAccessKey, getHtmlElementById, getHtmlElementsByAccessKey, getImplementation, getInputEncoding, getMetaTags, getNamespaces, getOwnerDocument, getPage, getResolvedTarget, getSelectionRanges, getStrictErrorChecking, getStyleFromCache, getStyleSheets, getTabbableElementIds, getTabbableElements, getTitleText, getXmlEncoding, getXmlStandalone, getXmlVersion, handles, importNode, initialize, isAttachedToPage, isBeingParsed, isHtmlPage, isOnbeforeunloadAccepted, isParsingHtmlSnippet, isParsingInlineHtmlSnippet, isQuirksMode, pressAccessKey, putStyleIntoCache, refresh, registerInlineSnippetParsingEnd, registerInlineSnippetParsingStart, registerParsingEnd, registerParsingStart, registerSnippetParsingEnd, registerSnippetParsingStart, removeHtmlAttributeChangeListener, renameNode, save, setDocumentType, setDocumentURI, setDOMBuilder, setElementFromPointHandler, setElementWithFocus, setFocusedElement, setFocusedElement, setNodeValue, setPrefix, setSelectionRange, setStrictErrorChecking, setTitleText, setXmlStandalone, setXmlVersion, tabToNextElement, tabToPreviousElement, toString, writeInParsedStream
asXml, characterDataChangeListenerAdded, createAttribute, createCDATASection, createComment, createDocumentFragment, createNodeIterator, createTextNode, domChangeListenerAdded, getCanonicalXPath, getDoctype, getElementsByTagName, getElementsByTagNameNS, getEnclosingWindow, getNodeName, getNodeType, getUrl, getWebClient, getWebResponse, isCharacterDataChangeListenerInUse, isDomChangeListenerInUse, isPrinting, normalizeDocument, setEnclosingWindow, setPrinting
addCharacterDataChangeListener, addDomChangeListener, appendChild, asNormalizedText, basicRemove, closest, compareDocumentPosition, detach, fireCharacterDataChanged, fireNodeAdded, fireNodeDeleted, getAncestors, getAttributes, getBaseURI, getByXPath, getByXPath, getChildNodes, getChildren, getDescendants, getDomElementDescendants, getEndColumnNumber, getEndLineNumber, getFeature, getFirstByXPath, getFirstByXPath, getFirstChild, getHtmlElementDescendants, getHtmlPageOrNull, getIndex, getLastChild, getLocalName, getNamespaceURI, getNextElementSibling, getNextSibling, getNodeValue, getParentNode, getPrefix, getPreviousElementSibling, getPreviousSibling, getReadyState, getScriptableObject, getSelectorList, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, getVisibleText, hasAttributes, hasChildNodes, hasFeature, insertBefore, insertBefore, isAncestorOf, isAncestorOfAny, isDefaultNamespace, isDisplayed, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, mayBeDisplayed, normalize, notifyIncorrectness, onAddedToDocumentFragment, onAddedToPage, onAllChildrenAddedToPage, parseHtmlSnippet, printChildrenAsXml, printXml, processImportNode, querySelector, querySelectorAll, quietlyRemoveAndMoveChildrenTo, remove, removeAllChildren, removeCharacterDataChangeListener, removeChild, removeDomChangeListener, replace, replaceChild, setEndLocation, setParentNode, setReadyState, setScriptableObject, setStartLocation, setTextContent, setUserData
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setTextContent, setUserData
public XHtmlPage(WebResponse webResponse, WebWindow webWindow)
WebClient.getPage(String)
.webResponse
- the web response that was used to create this pagewebWindow
- the window that this page is being loaded intopublic boolean hasCaseSensitiveTagNames()
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.hasCaseSensitiveTagNames
in class HtmlPage
true
if this page has case-sensitive tag names, false
otherwiseCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.