Class DocumentSnapshot

java.lang.Object
io.webfolder.cdp.type.domsnapshot.DocumentSnapshot

public class DocumentSnapshot
extends java.lang.Object
Document snapshot
  • Constructor Summary

    Constructors 
    Constructor Description
    DocumentSnapshot()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Integer getBaseURL()
    Base URL that `Document` or `FrameOwner` node uses for URL completion.
    java.lang.Double getContentHeight()
    Document content height.
    java.lang.Integer getContentLanguage()
    Contains the document's content language.
    java.lang.Double getContentWidth()
    Document content width.
    java.lang.Integer getDocumentURL()
    Document URL that `Document` or `FrameOwner` node points to.
    java.lang.Integer getEncodingName()
    Contains the document's character set encoding.
    java.lang.Integer getFrameId()
    Frame ID for frame owner elements and also for the document node.
    LayoutTreeSnapshot getLayout()
    The nodes in the layout tree.
    NodeTreeSnapshot getNodes()
    A table with dom nodes.
    java.lang.Integer getPublicId()
    `DocumentType` node's publicId.
    java.lang.Double getScrollOffsetX()
    Horizontal scroll offset.
    java.lang.Double getScrollOffsetY()
    Vertical scroll offset.
    java.lang.Integer getSystemId()
    `DocumentType` node's systemId.
    TextBoxSnapshot getTextBoxes()
    The post-layout inline text nodes.
    java.lang.Integer getTitle()
    Document title.
    void setBaseURL​(java.lang.Integer baseURL)
    Base URL that `Document` or `FrameOwner` node uses for URL completion.
    void setContentHeight​(java.lang.Double contentHeight)
    Document content height.
    void setContentLanguage​(java.lang.Integer contentLanguage)
    Contains the document's content language.
    void setContentWidth​(java.lang.Double contentWidth)
    Document content width.
    void setDocumentURL​(java.lang.Integer documentURL)
    Document URL that `Document` or `FrameOwner` node points to.
    void setEncodingName​(java.lang.Integer encodingName)
    Contains the document's character set encoding.
    void setFrameId​(java.lang.Integer frameId)
    Frame ID for frame owner elements and also for the document node.
    void setLayout​(LayoutTreeSnapshot layout)
    The nodes in the layout tree.
    void setNodes​(NodeTreeSnapshot nodes)
    A table with dom nodes.
    void setPublicId​(java.lang.Integer publicId)
    `DocumentType` node's publicId.
    void setScrollOffsetX​(java.lang.Double scrollOffsetX)
    Horizontal scroll offset.
    void setScrollOffsetY​(java.lang.Double scrollOffsetY)
    Vertical scroll offset.
    void setSystemId​(java.lang.Integer systemId)
    `DocumentType` node's systemId.
    void setTextBoxes​(TextBoxSnapshot textBoxes)
    The post-layout inline text nodes.
    void setTitle​(java.lang.Integer title)
    Document title.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getDocumentURL

      public java.lang.Integer getDocumentURL()
      Document URL that `Document` or `FrameOwner` node points to.
    • setDocumentURL

      public void setDocumentURL​(java.lang.Integer documentURL)
      Document URL that `Document` or `FrameOwner` node points to.
    • getTitle

      public java.lang.Integer getTitle()
      Document title.
    • setTitle

      public void setTitle​(java.lang.Integer title)
      Document title.
    • getBaseURL

      public java.lang.Integer getBaseURL()
      Base URL that `Document` or `FrameOwner` node uses for URL completion.
    • setBaseURL

      public void setBaseURL​(java.lang.Integer baseURL)
      Base URL that `Document` or `FrameOwner` node uses for URL completion.
    • getContentLanguage

      public java.lang.Integer getContentLanguage()
      Contains the document's content language.
    • setContentLanguage

      public void setContentLanguage​(java.lang.Integer contentLanguage)
      Contains the document's content language.
    • getEncodingName

      public java.lang.Integer getEncodingName()
      Contains the document's character set encoding.
    • setEncodingName

      public void setEncodingName​(java.lang.Integer encodingName)
      Contains the document's character set encoding.
    • getPublicId

      public java.lang.Integer getPublicId()
      `DocumentType` node's publicId.
    • setPublicId

      public void setPublicId​(java.lang.Integer publicId)
      `DocumentType` node's publicId.
    • getSystemId

      public java.lang.Integer getSystemId()
      `DocumentType` node's systemId.
    • setSystemId

      public void setSystemId​(java.lang.Integer systemId)
      `DocumentType` node's systemId.
    • getFrameId

      public java.lang.Integer getFrameId()
      Frame ID for frame owner elements and also for the document node.
    • setFrameId

      public void setFrameId​(java.lang.Integer frameId)
      Frame ID for frame owner elements and also for the document node.
    • getNodes

      public NodeTreeSnapshot getNodes()
      A table with dom nodes.
    • setNodes

      public void setNodes​(NodeTreeSnapshot nodes)
      A table with dom nodes.
    • getLayout

      public LayoutTreeSnapshot getLayout()
      The nodes in the layout tree.
    • setLayout

      public void setLayout​(LayoutTreeSnapshot layout)
      The nodes in the layout tree.
    • getTextBoxes

      public TextBoxSnapshot getTextBoxes()
      The post-layout inline text nodes.
    • setTextBoxes

      public void setTextBoxes​(TextBoxSnapshot textBoxes)
      The post-layout inline text nodes.
    • getScrollOffsetX

      public java.lang.Double getScrollOffsetX()
      Horizontal scroll offset.
    • setScrollOffsetX

      public void setScrollOffsetX​(java.lang.Double scrollOffsetX)
      Horizontal scroll offset.
    • getScrollOffsetY

      public java.lang.Double getScrollOffsetY()
      Vertical scroll offset.
    • setScrollOffsetY

      public void setScrollOffsetY​(java.lang.Double scrollOffsetY)
      Vertical scroll offset.
    • getContentWidth

      public java.lang.Double getContentWidth()
      Document content width.
    • setContentWidth

      public void setContentWidth​(java.lang.Double contentWidth)
      Document content width.
    • getContentHeight

      public java.lang.Double getContentHeight()
      Document content height.
    • setContentHeight

      public void setContentHeight​(java.lang.Double contentHeight)
      Document content height.