-
public final class NodeTreeSnapshotTable containing nodes.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Integer>parentIndexprivate final List<Integer>nodeTypeprivate final List<Integer>nodeNameprivate final List<Integer>nodeValueprivate final List<Integer>backendNodeIdprivate final List<List<Integer>>attributesprivate final RareStringDatatextValueprivate final RareStringDatainputValueprivate final RareBooleanDatainputCheckedprivate final RareBooleanDataoptionSelectedprivate final RareIntegerDatacontentDocumentIndexprivate final RareStringDatapseudoTypeprivate final RareBooleanDataisClickableprivate final RareStringDatacurrentSourceURLprivate final RareStringDataoriginURL
-
Constructor Summary
Constructors Constructor Description NodeTreeSnapshot(List<Integer> parentIndex, List<Integer> nodeType, List<Integer> nodeName, List<Integer> nodeValue, List<Integer> backendNodeId, List<List<Integer>> attributes, RareStringData textValue, RareStringData inputValue, RareBooleanData inputChecked, RareBooleanData optionSelected, RareIntegerData contentDocumentIndex, RareStringData pseudoType, RareBooleanData isClickable, RareStringData currentSourceURL, RareStringData originURL)
-
Method Summary
Modifier and Type Method Description final List<Integer>component1()final List<Integer>component2()final List<Integer>component3()final List<Integer>component4()final List<Integer>component5()final List<List<Integer>>component6()final RareStringDatacomponent7()final RareStringDatacomponent8()final RareBooleanDatacomponent9()final RareBooleanDatacomponent10()final RareIntegerDatacomponent11()final RareStringDatacomponent12()final RareBooleanDatacomponent13()final RareStringDatacomponent14()final RareStringDatacomponent15()final NodeTreeSnapshotcopy(List<Integer> parentIndex, List<Integer> nodeType, List<Integer> nodeName, List<Integer> nodeValue, List<Integer> backendNodeId, List<List<Integer>> attributes, RareStringData textValue, RareStringData inputValue, RareBooleanData inputChecked, RareBooleanData optionSelected, RareIntegerData contentDocumentIndex, RareStringData pseudoType, RareBooleanData isClickable, RareStringData currentSourceURL, RareStringData originURL)final List<Integer>getParentIndex()Parent node index. final List<Integer>getNodeType()Node's nodeType.final List<Integer>getNodeName()Node's nodeName.final List<Integer>getNodeValue()Node's nodeValue.final List<Integer>getBackendNodeId()Node's id, corresponds to DOM.Node.backendNodeId.final List<List<Integer>>getAttributes()Attributes of an Elementnode.final RareStringDatagetTextValue()Only set for textarea elements, contains the text value. final RareStringDatagetInputValue()Only set for input elements, contains the input's associated text value. final RareBooleanDatagetInputChecked()Only set for radio and checkbox input elements, indicates if the element has been checked final RareBooleanDatagetOptionSelected()Only set for option elements, indicates if the element has been selected final RareIntegerDatagetContentDocumentIndex()The index of the document in the list of the snapshot documents. final RareStringDatagetPseudoType()Type of a pseudo element node. final RareBooleanDatagetIsClickable()Whether this DOM node responds to mouse clicks. final RareStringDatagetCurrentSourceURL()The selected url for nodes with a srcset attribute. final RareStringDatagetOriginURL()The url of the script (if any) that generates this node. -
-
Constructor Detail
-
NodeTreeSnapshot
NodeTreeSnapshot(List<Integer> parentIndex, List<Integer> nodeType, List<Integer> nodeName, List<Integer> nodeValue, List<Integer> backendNodeId, List<List<Integer>> attributes, RareStringData textValue, RareStringData inputValue, RareBooleanData inputChecked, RareBooleanData optionSelected, RareIntegerData contentDocumentIndex, RareStringData pseudoType, RareBooleanData isClickable, RareStringData currentSourceURL, RareStringData originURL)
-
-
Method Detail
-
component1
final List<Integer> component1()
-
component2
final List<Integer> component2()
-
component3
final List<Integer> component3()
-
component4
final List<Integer> component4()
-
component5
final List<Integer> component5()
-
component6
final List<List<Integer>> component6()
-
component7
final RareStringData component7()
-
component8
final RareStringData component8()
-
component9
final RareBooleanData component9()
-
component10
final RareBooleanData component10()
-
component11
final RareIntegerData component11()
-
component12
final RareStringData component12()
-
component13
final RareBooleanData component13()
-
component14
final RareStringData component14()
-
component15
final RareStringData component15()
-
copy
final NodeTreeSnapshot copy(List<Integer> parentIndex, List<Integer> nodeType, List<Integer> nodeName, List<Integer> nodeValue, List<Integer> backendNodeId, List<List<Integer>> attributes, RareStringData textValue, RareStringData inputValue, RareBooleanData inputChecked, RareBooleanData optionSelected, RareIntegerData contentDocumentIndex, RareStringData pseudoType, RareBooleanData isClickable, RareStringData currentSourceURL, RareStringData originURL)
-
getParentIndex
final List<Integer> getParentIndex()
Parent node index.
-
getNodeType
final List<Integer> getNodeType()
Node's nodeType.
-
getNodeName
final List<Integer> getNodeName()
Node's nodeName.
-
getNodeValue
final List<Integer> getNodeValue()
Node's nodeValue.
-
getBackendNodeId
final List<Integer> getBackendNodeId()
Node's id, corresponds to DOM.Node.backendNodeId.
-
getAttributes
final List<List<Integer>> getAttributes()
Attributes of an
Elementnode. Flatten name, value pairs.
-
getTextValue
final RareStringData getTextValue()
Only set for textarea elements, contains the text value.
-
getInputValue
final RareStringData getInputValue()
Only set for input elements, contains the input's associated text value.
-
getInputChecked
final RareBooleanData getInputChecked()
Only set for radio and checkbox input elements, indicates if the element has been checked
-
getOptionSelected
final RareBooleanData getOptionSelected()
Only set for option elements, indicates if the element has been selected
-
getContentDocumentIndex
final RareIntegerData getContentDocumentIndex()
The index of the document in the list of the snapshot documents.
-
getPseudoType
final RareStringData getPseudoType()
Type of a pseudo element node.
-
getIsClickable
final RareBooleanData getIsClickable()
Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.
-
getCurrentSourceURL
final RareStringData getCurrentSourceURL()
The selected url for nodes with a srcset attribute.
-
getOriginURL
final RareStringData getOriginURL()
The url of the script (if any) that generates this node.
-
-
-
-