public class DOMLookupByUniqueXPath extends Object implements DOMLookup
DOMNodeFinderService
Constructor and Description |
---|
DOMLookupByUniqueXPath(WebBrowser browser) |
DOMLookupByUniqueXPath(WebBrowser browser,
boolean throwOnFailure) |
Modifier and Type | Method and Description |
---|---|
NodeReference |
getNodeReference(OXPathContextNode contextNode) |
ArrayList<NodeReference> |
getNodeReferences(IOXPathNodeList nodes)
Creates a list of references to nodes so that they can be found in a new document.
|
IOXPathNodeList |
getRenderedNodes(List<NodeReference> refs,
DOMDocument document) |
WebBrowser |
getWebBrowser() |
public DOMLookupByUniqueXPath(WebBrowser browser, boolean throwOnFailure)
public DOMLookupByUniqueXPath(WebBrowser browser)
public ArrayList<NodeReference> getNodeReferences(IOXPathNodeList nodes) throws OXPathException
getNodeReferences
in interface DOMLookup
nodes
- the list of OXPathNodesOXPathException
- in case of browser error (will carry the throwable cause)public NodeReference getNodeReference(OXPathContextNode contextNode)
getNodeReference
in interface DOMLookup
public IOXPathNodeList getRenderedNodes(List<NodeReference> refs, DOMDocument document) throws OXPathException
getRenderedNodes
in interface DOMLookup
OXPathException
public WebBrowser getWebBrowser()
getWebBrowser
in interface DOMLookup
Copyright © 2020 OXPath Team. All rights reserved.