public class NodeTreeSnapshot extends Object
| Constructor and Description |
|---|
NodeTreeSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
List<List<Integer>> |
getAttributes()
Attributes of an `Element` node.
|
List<Integer> |
getBackendNodeId()
`Node`'s id, corresponds to DOM.Node.backendNodeId.
|
RareIntegerData |
getContentDocumentIndex()
The index of the document in the list of the snapshot documents.
|
RareStringData |
getCurrentSourceURL()
The selected url for nodes with a srcset attribute.
|
RareBooleanData |
getInputChecked()
Only set for radio and checkbox input elements, indicates if the element has been checked
|
RareStringData |
getInputValue()
Only set for input elements, contains the input's associated text value.
|
RareBooleanData |
getIsClickable()
Whether this DOM node responds to mouse clicks.
|
List<Integer> |
getNodeName()
`Node`'s nodeName.
|
List<Integer> |
getNodeType()
`Node`'s nodeType.
|
List<Integer> |
getNodeValue()
`Node`'s nodeValue.
|
RareBooleanData |
getOptionSelected()
Only set for option elements, indicates if the element has been selected
|
RareStringData |
getOriginURL()
The url of the script (if any) that generates this node.
|
List<Integer> |
getParentIndex()
Parent node index.
|
RareStringData |
getPseudoType()
Type of a pseudo element node.
|
RareStringData |
getTextValue()
Only set for textarea elements, contains the text value.
|
void |
setAttributes(List<List<Integer>> attributes)
Attributes of an `Element` node.
|
void |
setBackendNodeId(List<Integer> backendNodeId)
`Node`'s id, corresponds to DOM.Node.backendNodeId.
|
void |
setContentDocumentIndex(RareIntegerData contentDocumentIndex)
The index of the document in the list of the snapshot documents.
|
void |
setCurrentSourceURL(RareStringData currentSourceURL)
The selected url for nodes with a srcset attribute.
|
void |
setInputChecked(RareBooleanData inputChecked)
Only set for radio and checkbox input elements, indicates if the element has been checked
|
void |
setInputValue(RareStringData inputValue)
Only set for input elements, contains the input's associated text value.
|
void |
setIsClickable(RareBooleanData isClickable)
Whether this DOM node responds to mouse clicks.
|
void |
setNodeName(List<Integer> nodeName)
`Node`'s nodeName.
|
void |
setNodeType(List<Integer> nodeType)
`Node`'s nodeType.
|
void |
setNodeValue(List<Integer> nodeValue)
`Node`'s nodeValue.
|
void |
setOptionSelected(RareBooleanData optionSelected)
Only set for option elements, indicates if the element has been selected
|
void |
setOriginURL(RareStringData originURL)
The url of the script (if any) that generates this node.
|
void |
setParentIndex(List<Integer> parentIndex)
Parent node index.
|
void |
setPseudoType(RareStringData pseudoType)
Type of a pseudo element node.
|
void |
setTextValue(RareStringData textValue)
Only set for textarea elements, contains the text value.
|
public List<Integer> getBackendNodeId()
public void setBackendNodeId(List<Integer> backendNodeId)
public List<List<Integer>> getAttributes()
public void setAttributes(List<List<Integer>> attributes)
public RareStringData getTextValue()
public void setTextValue(RareStringData textValue)
public RareStringData getInputValue()
public void setInputValue(RareStringData inputValue)
public RareBooleanData getInputChecked()
public void setInputChecked(RareBooleanData inputChecked)
public RareBooleanData getOptionSelected()
public void setOptionSelected(RareBooleanData optionSelected)
public RareIntegerData getContentDocumentIndex()
public void setContentDocumentIndex(RareIntegerData contentDocumentIndex)
public RareStringData getPseudoType()
public void setPseudoType(RareStringData pseudoType)
public RareBooleanData getIsClickable()
public void setIsClickable(RareBooleanData isClickable)
public RareStringData getCurrentSourceURL()
public void setCurrentSourceURL(RareStringData currentSourceURL)
public RareStringData getOriginURL()
public void setOriginURL(RareStringData originURL)
Copyright © 2020. All rights reserved.