public class Node extends Object
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAttributes()
Attributes of the `Element` node in the form of flat array `[name1, value1, name2, value2]`.
|
Integer |
getBackendNodeId()
The BackendNodeId for this node.
|
String |
getBaseURL()
Base URL that `Document` or `FrameOwner` node uses for URL completion.
|
Integer |
getChildNodeCount()
Child count for `Container` nodes.
|
List<Node> |
getChildren()
Child nodes of this node when requested with children.
|
Node |
getContentDocument()
Content document for frame owner elements.
|
List<BackendNode> |
getDistributedNodes()
Distributed nodes for given insertion point.
|
String |
getDocumentURL()
Document URL that `Document` or `FrameOwner` node points to.
|
String |
getFrameId()
Frame ID for frame owner elements.
|
Node |
getImportedDocument()
Import document for the HTMLImport links.
|
String |
getInternalSubset()
`DocumentType`'s internalSubset.
|
Boolean |
getIsSVG()
Whether the node is SVG.
|
String |
getLocalName()
`Node`'s localName.
|
String |
getName()
`Attr`'s name.
|
Integer |
getNodeId()
Node identifier that is passed into the rest of the DOM messages as the `nodeId`.
|
String |
getNodeName()
`Node`'s nodeName.
|
Integer |
getNodeType()
`Node`'s nodeType.
|
String |
getNodeValue()
`Node`'s nodeValue.
|
Integer |
getParentId()
The id of the parent node if any.
|
List<Node> |
getPseudoElements()
Pseudo elements associated with this node.
|
PseudoType |
getPseudoType()
Pseudo element type for this node.
|
String |
getPublicId()
`DocumentType`'s publicId.
|
List<Node> |
getShadowRoots()
Shadow root list for given element host.
|
ShadowRootType |
getShadowRootType()
Shadow root type.
|
String |
getSystemId()
`DocumentType`'s systemId.
|
Node |
getTemplateContent()
Content document fragment for template elements.
|
String |
getValue()
`Attr`'s value.
|
String |
getXmlVersion()
`Document`'s XML version in case of XML documents.
|
void |
setAttributes(List<String> attributes)
Attributes of the `Element` node in the form of flat array `[name1, value1, name2, value2]`.
|
void |
setBackendNodeId(Integer backendNodeId)
The BackendNodeId for this node.
|
void |
setBaseURL(String baseURL)
Base URL that `Document` or `FrameOwner` node uses for URL completion.
|
void |
setChildNodeCount(Integer childNodeCount)
Child count for `Container` nodes.
|
void |
setChildren(List<Node> children)
Child nodes of this node when requested with children.
|
void |
setContentDocument(Node contentDocument)
Content document for frame owner elements.
|
void |
setDistributedNodes(List<BackendNode> distributedNodes)
Distributed nodes for given insertion point.
|
void |
setDocumentURL(String documentURL)
Document URL that `Document` or `FrameOwner` node points to.
|
void |
setFrameId(String frameId)
Frame ID for frame owner elements.
|
void |
setImportedDocument(Node importedDocument)
Import document for the HTMLImport links.
|
void |
setInternalSubset(String internalSubset)
`DocumentType`'s internalSubset.
|
void |
setIsSVG(Boolean isSVG)
Whether the node is SVG.
|
void |
setLocalName(String localName)
`Node`'s localName.
|
void |
setName(String name)
`Attr`'s name.
|
void |
setNodeId(Integer nodeId)
Node identifier that is passed into the rest of the DOM messages as the `nodeId`.
|
void |
setNodeName(String nodeName)
`Node`'s nodeName.
|
void |
setNodeType(Integer nodeType)
`Node`'s nodeType.
|
void |
setNodeValue(String nodeValue)
`Node`'s nodeValue.
|
void |
setParentId(Integer parentId)
The id of the parent node if any.
|
void |
setPseudoElements(List<Node> pseudoElements)
Pseudo elements associated with this node.
|
void |
setPseudoType(PseudoType pseudoType)
Pseudo element type for this node.
|
void |
setPublicId(String publicId)
`DocumentType`'s publicId.
|
void |
setShadowRoots(List<Node> shadowRoots)
Shadow root list for given element host.
|
void |
setShadowRootType(ShadowRootType shadowRootType)
Shadow root type.
|
void |
setSystemId(String systemId)
`DocumentType`'s systemId.
|
void |
setTemplateContent(Node templateContent)
Content document fragment for template elements.
|
void |
setValue(String value)
`Attr`'s value.
|
void |
setXmlVersion(String xmlVersion)
`Document`'s XML version in case of XML documents.
|
public Integer getNodeId()
public void setNodeId(Integer nodeId)
public Integer getParentId()
public void setParentId(Integer parentId)
public Integer getBackendNodeId()
public void setBackendNodeId(Integer backendNodeId)
public Integer getNodeType()
public void setNodeType(Integer nodeType)
public String getNodeName()
public void setNodeName(String nodeName)
public String getLocalName()
public void setLocalName(String localName)
public String getNodeValue()
public void setNodeValue(String nodeValue)
public Integer getChildNodeCount()
public void setChildNodeCount(Integer childNodeCount)
public void setChildren(List<Node> children)
public List<String> getAttributes()
public void setAttributes(List<String> attributes)
public String getDocumentURL()
public void setDocumentURL(String documentURL)
public String getBaseURL()
public void setBaseURL(String baseURL)
public String getPublicId()
public void setPublicId(String publicId)
public String getSystemId()
public void setSystemId(String systemId)
public String getInternalSubset()
public void setInternalSubset(String internalSubset)
public String getXmlVersion()
public void setXmlVersion(String xmlVersion)
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public PseudoType getPseudoType()
public void setPseudoType(PseudoType pseudoType)
public ShadowRootType getShadowRootType()
public void setShadowRootType(ShadowRootType shadowRootType)
public String getFrameId()
public void setFrameId(String frameId)
public Node getContentDocument()
public void setContentDocument(Node contentDocument)
public void setShadowRoots(List<Node> shadowRoots)
public Node getTemplateContent()
public void setTemplateContent(Node templateContent)
public void setPseudoElements(List<Node> pseudoElements)
public Node getImportedDocument()
public void setImportedDocument(Node importedDocument)
public List<BackendNode> getDistributedNodes()
public void setDistributedNodes(List<BackendNode> distributedNodes)
public Boolean getIsSVG()
public void setIsSVG(Boolean isSVG)
Copyright © 2020. All rights reserved.