public interface JSUtils
Modifier and Type | Method and Description |
---|---|
String |
asXLM(DOMNode subtree)
can be used to convert a DOM tree into text XML
|
List<String> |
getClassAttributes() |
List<String> |
getIDAttributes() |
List<String> |
getImageSources() |
List<String> |
getLinkHRefs() |
String |
makeURLAbsolute(String url) |
MutationFormObserver |
observeFormMutation(DOMElement rootNode) |
String |
selectText(DOMNode node)
Selects the text via Selection API https://developer.mozilla.org/en-US/docs/Web/API/Selection If the node is a
textNode it will select its text, otherwise it will create a range selection all its children
|
String |
selectText(DOMNode startRange,
DOMNode endNode)
Selects the text via Selection API https://developer.mozilla.org/en-US/docs/Web/API/Selection
|
List<String> |
testScratch() |
MutationFormObserver observeFormMutation(DOMElement rootNode)
String selectText(DOMNode node)
node
- String selectText(DOMNode startRange, DOMNode endNode)
node
- Copyright © 2020 OXPath Team. All rights reserved.