View Source GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderTreeNode (google_api_content_warehouse v0.4.0)

Attributes

  • box (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoBox.t, default: nil) - Box is set for render blocks ( , , etc). Box for any RenderTreeNode can be found either in the RenderTreeNode itself or by traversing up the ancestors until a RenderTreeNode with a Box is found.
  • childRenderTreeNodeIndex (type: list(integer()), default: nil) - child_render_tree_node_index is an index into the list of RenderTreeNodes stored in the Document. WARNING : Don't use this field. Applications should not rely on the structure of the render tree. This is an internal browser implementation detail and it changes from time to time. Generally, applications should obtain rendering information by starting with the relevant DOMTreeNode and following pointers from there to the relevant RenderTreeNodes.
  • domTreeNodeIndex (type: integer(), default: nil) - Index of the DOMTreeNode for which this RenderTreeNode is applicable. This index can be used to lookup a DOMTreeNode from list of DOMTreeNodes stored in the Document.
  • inlineTextBox (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderTreeNodeInlineTextBox.t), default: nil) -
  • renderedText (type: String.t, default: nil) - The actual text that was rendered. This is applicable only for text nodes.
  • styleIndex (type: integer(), default: nil) - Style index is set for rendered nodes (text nodes, image nodes, widgets, etc). The style_index can be used to lookup the style from the list of styles stored in the Document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderTreeNode{
    box:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoBox.t()
      | nil,
    childRenderTreeNodeIndex: [integer()] | nil,
    domTreeNodeIndex: integer() | nil,
    inlineTextBox:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderTreeNodeInlineTextBox.t()
      ]
      | nil,
    renderedText: String.t() | nil,
    styleIndex: integer() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.