DocumentSnapshot

data class DocumentSnapshot(documentURL: StringIndex, title: StringIndex, baseURL: StringIndex, contentLanguage: StringIndex, encodingName: StringIndex, publicId: StringIndex, systemId: StringIndex, frameId: StringIndex, nodes: NodeTreeSnapshot, layout: LayoutTreeSnapshot, textBoxes: TextBoxSnapshot, scrollOffsetX: Double?, scrollOffsetY: Double?, contentWidth: Double?, contentHeight: Double?)

Document snapshot.

Constructors

DocumentSnapshot
Link copied to clipboard
fun DocumentSnapshot(documentURL: StringIndex, title: StringIndex, baseURL: StringIndex, contentLanguage: StringIndex, encodingName: StringIndex, publicId: StringIndex, systemId: StringIndex, frameId: StringIndex, nodes: NodeTreeSnapshot, layout: LayoutTreeSnapshot, textBoxes: TextBoxSnapshot, scrollOffsetX: Double? = null, scrollOffsetY: Double? = null, contentWidth: Double? = null, contentHeight: Double? = null)

Properties

baseURL
Link copied to clipboard
val baseURL: StringIndex
Base URL that Document or FrameOwner node uses for URL completion.
contentHeight
Link copied to clipboard
val contentHeight: Double? = null
Document content height.
contentLanguage
Link copied to clipboard
val contentLanguage: StringIndex
Contains the document's content language.
contentWidth
Link copied to clipboard
val contentWidth: Double? = null
Document content width.
documentURL
Link copied to clipboard
val documentURL: StringIndex
Document URL that Document or FrameOwner node points to.
encodingName
Link copied to clipboard
val encodingName: StringIndex
Contains the document's character set encoding.
frameId
Link copied to clipboard
val frameId: StringIndex
Frame ID for frame owner elements and also for the document node.
layout
Link copied to clipboard
val layout: LayoutTreeSnapshot
The nodes in the layout tree.
nodes
Link copied to clipboard
val nodes: NodeTreeSnapshot
A table with dom nodes.
publicId
Link copied to clipboard
val publicId: StringIndex
DocumentType node's publicId.
scrollOffsetX
Link copied to clipboard
val scrollOffsetX: Double? = null
Horizontal scroll offset.
scrollOffsetY
Link copied to clipboard
val scrollOffsetY: Double? = null
Vertical scroll offset.
systemId
Link copied to clipboard
val systemId: StringIndex
DocumentType node's systemId.
textBoxes
Link copied to clipboard
val textBoxes: TextBoxSnapshot
The post-layout inline text nodes.
title
Link copied to clipboard
val title: StringIndex
Document title.

Sources

jvm source
Link copied to clipboard