-
public final class NodeDOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegernodeIdprivate final IntegerparentIdprivate final IntegerbackendNodeIdprivate final IntegernodeTypeprivate final StringnodeNameprivate final StringlocalNameprivate final StringnodeValueprivate final IntegerchildNodeCountprivate final List<Node>childrenprivate final List<String>attributesprivate final StringdocumentURLprivate final StringbaseURLprivate final StringpublicIdprivate final StringsystemIdprivate final StringinternalSubsetprivate final StringxmlVersionprivate final Stringnameprivate final Stringvalueprivate final PseudoTypepseudoTypeprivate final ShadowRootTypeshadowRootTypeprivate final StringframeIdprivate final NodecontentDocumentprivate final List<Node>shadowRootsprivate final NodetemplateContentprivate final List<Node>pseudoElementsprivate final NodeimportedDocumentprivate final List<BackendNode>distributedNodesprivate final BooleanisSVG
-
Constructor Summary
Constructors Constructor Description Node(Integer nodeId, Integer parentId, Integer backendNodeId, Integer nodeType, String nodeName, String localName, String nodeValue, Integer childNodeCount, List<Node> children, List<String> attributes, String documentURL, String baseURL, String publicId, String systemId, String internalSubset, String xmlVersion, String name, String value, PseudoType pseudoType, ShadowRootType shadowRootType, String frameId, Node contentDocument, List<Node> shadowRoots, Node templateContent, List<Node> pseudoElements, Node importedDocument, List<BackendNode> distributedNodes, Boolean isSVG)
-
Method Summary
Modifier and Type Method Description final Integercomponent1()final Integercomponent2()final Integercomponent3()final Integercomponent4()final Stringcomponent5()final Stringcomponent6()final Stringcomponent7()final Integercomponent8()final List<Node>component9()final List<String>component10()final Stringcomponent11()final Stringcomponent12()final Stringcomponent13()final Stringcomponent14()final Stringcomponent15()final Stringcomponent16()final Stringcomponent17()final Stringcomponent18()final PseudoTypecomponent19()final ShadowRootTypecomponent20()final Stringcomponent21()final Nodecomponent22()final List<Node>component23()final Nodecomponent24()final List<Node>component25()final Nodecomponent26()final List<BackendNode>component27()final Booleancomponent28()final Nodecopy(Integer nodeId, Integer parentId, Integer backendNodeId, Integer nodeType, String nodeName, String localName, String nodeValue, Integer childNodeCount, List<Node> children, List<String> attributes, String documentURL, String baseURL, String publicId, String systemId, String internalSubset, String xmlVersion, String name, String value, PseudoType pseudoType, ShadowRootType shadowRootType, String frameId, Node contentDocument, List<Node> shadowRoots, Node templateContent, List<Node> pseudoElements, Node importedDocument, List<BackendNode> distributedNodes, Boolean isSVG)final IntegergetNodeId()Node identifier that is passed into the rest of the DOM messages as the nodeId.final IntegergetParentId()The id of the parent node if any. final IntegergetBackendNodeId()The BackendNodeId for this node. final IntegergetNodeType()Node's nodeType.final StringgetNodeName()Node's nodeName.final StringgetLocalName()Node's localName.final StringgetNodeValue()Node's nodeValue.final IntegergetChildNodeCount()Child count for Containernodes.final List<Node>getChildren()Child nodes of this node when requested with children. final List<String>getAttributes()Attributes of the Elementnode in the form of flat array[name1, value1, name2, value2].final StringgetDocumentURL()Document URL that DocumentorFrameOwnernode points to.final StringgetBaseURL()Base URL that DocumentorFrameOwnernode uses for URL completion.final StringgetPublicId()DocumentType's publicId.final StringgetSystemId()DocumentType's systemId.final StringgetInternalSubset()DocumentType's internalSubset.final StringgetXmlVersion()Document's XML version in case of XML documents.final StringgetName()Attr's name.final StringgetValue()Attr's value.final PseudoTypegetPseudoType()Pseudo element type for this node. final ShadowRootTypegetShadowRootType()Shadow root type. final StringgetFrameId()Frame ID for frame owner elements. final NodegetContentDocument()Content document for frame owner elements. final List<Node>getShadowRoots()Shadow root list for given element host. final NodegetTemplateContent()Content document fragment for template elements. final List<Node>getPseudoElements()Pseudo elements associated with this node. final NodegetImportedDocument()Import document for the HTMLImport links. final List<BackendNode>getDistributedNodes()Distributed nodes for given insertion point. final BooleangetIsSVG()Whether the node is SVG. -
-
Constructor Detail
-
Node
Node(Integer nodeId, Integer parentId, Integer backendNodeId, Integer nodeType, String nodeName, String localName, String nodeValue, Integer childNodeCount, List<Node> children, List<String> attributes, String documentURL, String baseURL, String publicId, String systemId, String internalSubset, String xmlVersion, String name, String value, PseudoType pseudoType, ShadowRootType shadowRootType, String frameId, Node contentDocument, List<Node> shadowRoots, Node templateContent, List<Node> pseudoElements, Node importedDocument, List<BackendNode> distributedNodes, Boolean isSVG)
-
-
Method Detail
-
component1
final Integer component1()
-
component2
final Integer component2()
-
component3
final Integer component3()
-
component4
final Integer component4()
-
component5
final String component5()
-
component6
final String component6()
-
component7
final String component7()
-
component8
final Integer component8()
-
component9
final List<Node> component9()
-
component10
final List<String> component10()
-
component11
final String component11()
-
component12
final String component12()
-
component13
final String component13()
-
component14
final String component14()
-
component15
final String component15()
-
component16
final String component16()
-
component17
final String component17()
-
component18
final String component18()
-
component19
final PseudoType component19()
-
component20
final ShadowRootType component20()
-
component21
final String component21()
-
component22
final Node component22()
-
component23
final List<Node> component23()
-
component24
final Node component24()
-
component25
final List<Node> component25()
-
component26
final Node component26()
-
component27
final List<BackendNode> component27()
-
component28
final Boolean component28()
-
copy
final Node copy(Integer nodeId, Integer parentId, Integer backendNodeId, Integer nodeType, String nodeName, String localName, String nodeValue, Integer childNodeCount, List<Node> children, List<String> attributes, String documentURL, String baseURL, String publicId, String systemId, String internalSubset, String xmlVersion, String name, String value, PseudoType pseudoType, ShadowRootType shadowRootType, String frameId, Node contentDocument, List<Node> shadowRoots, Node templateContent, List<Node> pseudoElements, Node importedDocument, List<BackendNode> distributedNodes, Boolean isSVG)
-
getNodeId
final Integer getNodeId()
Node identifier that is passed into the rest of the DOM messages as the
nodeId. Backend will only push node with givenidonce. It is aware of all requested nodes and will only fire DOM events for nodes known to the client.
-
getParentId
final Integer getParentId()
The id of the parent node if any.
-
getBackendNodeId
final Integer getBackendNodeId()
The BackendNodeId for this node.
-
getNodeType
final Integer getNodeType()
Node's nodeType.
-
getNodeName
final String getNodeName()
Node's nodeName.
-
getLocalName
final String getLocalName()
Node's localName.
-
getNodeValue
final String getNodeValue()
Node's nodeValue.
-
getChildNodeCount
final Integer getChildNodeCount()
Child count for
Containernodes.
-
getChildren
final List<Node> getChildren()
Child nodes of this node when requested with children.
-
getAttributes
final List<String> getAttributes()
Attributes of the
Elementnode in the form of flat array[name1, value1, name2, value2].
-
getDocumentURL
final String getDocumentURL()
Document URL that
DocumentorFrameOwnernode points to.
-
getBaseURL
final String getBaseURL()
Base URL that
DocumentorFrameOwnernode uses for URL completion.
-
getPublicId
final String getPublicId()
DocumentType's publicId.
-
getSystemId
final String getSystemId()
DocumentType's systemId.
-
getInternalSubset
final String getInternalSubset()
DocumentType's internalSubset.
-
getXmlVersion
final String getXmlVersion()
Document's XML version in case of XML documents.
-
getPseudoType
final PseudoType getPseudoType()
Pseudo element type for this node.
-
getShadowRootType
final ShadowRootType getShadowRootType()
Shadow root type.
-
getFrameId
final String getFrameId()
Frame ID for frame owner elements.
-
getContentDocument
final Node getContentDocument()
Content document for frame owner elements.
-
getShadowRoots
final List<Node> getShadowRoots()
Shadow root list for given element host.
-
getTemplateContent
final Node getTemplateContent()
Content document fragment for template elements.
-
getPseudoElements
final List<Node> getPseudoElements()
Pseudo elements associated with this node.
-
getImportedDocument
final Node getImportedDocument()
Import document for the HTMLImport links.
-
getDistributedNodes
final List<BackendNode> getDistributedNodes()
Distributed nodes for given insertion point.
-
-
-
-