public class XHtmlPage extends HtmlPage
DomNode.ChildIterator, DomNode.DescendantElementsIterator<T extends DomNode>
AS_TEXT_BLANK, AS_TEXT_BLOCK_SEPARATOR, AS_TEXT_NEW_LINE, AS_TEXT_TAB, 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(URL originatingUrl,
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, clone, cloneNode, createAttributeNS, createElement, createElementNS, createEntityReference, createProcessingInstruction, deregisterFramesIfNeeded, executeJavaScript, executeJavaScriptIfPossible, getAnchorByHref, getAnchorByName, getAnchorByText, getAnchors, getBaseURL, getBody, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementById, getElementByName, getElementsByIdAndOrName, getElementsByName, getElementsByTagNameNS, getFormByName, getForms, getFrameByName, getFrames, getFullyQualifiedUrl, getHead, getHtmlElementByAccessKey, getHtmlElementById, getHtmlElementById, getHtmlElementsByAccessKey, getImplementation, getInputEncoding, getMetaTags, getNamespaces, getOwnerDocument, getPage, getPageEncoding, getResolvedTarget, getStrictErrorChecking, getTabbableElementIds, getTabbableElements, getTitleText, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, initialize, isBeingParsed, isDirectlyAttachedToPage, isHtmlPage, isOnbeforeunloadAccepted, isQuirksMode, pressAccessKey, refresh, removeHtmlAttributeChangeListener, renameNode, save, setDocumentType, setDocumentURI, setStrictErrorChecking, setTitleText, setXmlStandalone, setXmlVersion, tabToNextElement, tabToPreviousElement, toString, writeInParsedStream
executeJavaScriptFunctionIfPossible, getFocusedElement, getSelectionRanges, setElementWithFocus, setFocusedElement, setFocusedElement, setSelectionRange
asXml, createAttribute, createCDATASection, createComment, createDocumentFragment, createDomDocumentFragment, createTextNode, getCanonicalXPath, getDoctype, getElementsByTagName, getEnclosingWindow, getNodeName, getNodeType, getUrl, getWebClient, getWebResponse, normalizeDocument, setEnclosingWindow
addCharacterDataChangeListener, addDomChangeListener, appendChild, asText, 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, getNextSibling, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getReadyState, getScriptableObject, getScriptObject, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, hasAttributes, hasChildNodes, hasFeature, insertBefore, insertBefore, isAncestorOf, isAncestorOfAny, isBlock, isDefaultNamespace, isDisplayed, isEqualNode, isSameNode, isSupported, isTrimmedText, lookupNamespaceURI, lookupPrefix, mayBeDisplayed, normalize, notifyIncorrectness, onAddedToDocumentFragment, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, printXml, processImportNode, querySelector, querySelectorAll, remove, removeAllChildren, removeCharacterDataChangeListener, removeChild, removeDomChangeListener, replace, replaceChild, setNextSibling, setNodeValue, setParentNode, setPrefix, setPreviousSibling, setReadyState, setScriptableObject, 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, setNodeValue, setPrefix, setTextContent, setUserData
public XHtmlPage(URL originatingUrl, WebResponse webResponse, WebWindow webWindow)
WebClient.getPage(String)
.originatingUrl
- the URL that was used to load this pagewebResponse
- 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–2017 Gargoyle Software Inc.. All rights reserved.