Class CSSStyleSheetHeader
- java.lang.Object
-
- org.openqa.selenium.devtools.css.model.CSSStyleSheetHeader
-
public class CSSStyleSheetHeader extends java.lang.Object
CSS stylesheet metainformation.
-
-
Constructor Summary
Constructors Constructor Description CSSStyleSheetHeader(StyleSheetId styleSheetId, FrameId frameId, java.lang.String sourceURL, java.lang.String sourceMapURL, StyleSheetOrigin origin, java.lang.String title, BackendNodeId ownerNode, java.lang.Boolean disabled, java.lang.Boolean hasSourceURL, java.lang.Boolean isInline, java.lang.Number startLine, java.lang.Number startColumn, java.lang.Number length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getDisabled()
Denotes whether the stylesheet is disabled.FrameId
getFrameId()
Owner frame identifier.java.lang.Boolean
getHasSourceURL()
Whether the sourceURL field value comes from the sourceURL comment.java.lang.Boolean
getIsInline()
Whether this stylesheet is created for STYLE tag by parser.java.lang.Number
getLength()
Size of the content (in characters).StyleSheetOrigin
getOrigin()
Stylesheet origin.BackendNodeId
getOwnerNode()
The backend id for the owner node of the stylesheet.java.lang.String
getSourceMapURL()
URL of source map associated with the stylesheet (if any).java.lang.String
getSourceURL()
Stylesheet resource URL.java.lang.Number
getStartColumn()
Column offset of the stylesheet within the resource (zero based).java.lang.Number
getStartLine()
Line offset of the stylesheet within the resource (zero based).StyleSheetId
getStyleSheetId()
The stylesheet identifier.java.lang.String
getTitle()
Stylesheet title.
-
-
-
Constructor Detail
-
CSSStyleSheetHeader
public CSSStyleSheetHeader(StyleSheetId styleSheetId, FrameId frameId, java.lang.String sourceURL, java.lang.String sourceMapURL, StyleSheetOrigin origin, java.lang.String title, BackendNodeId ownerNode, java.lang.Boolean disabled, java.lang.Boolean hasSourceURL, java.lang.Boolean isInline, java.lang.Number startLine, java.lang.Number startColumn, java.lang.Number length)
-
-
Method Detail
-
getStyleSheetId
public StyleSheetId getStyleSheetId()
The stylesheet identifier.
-
getFrameId
public FrameId getFrameId()
Owner frame identifier.
-
getSourceURL
public java.lang.String getSourceURL()
Stylesheet resource URL.
-
getSourceMapURL
public java.lang.String getSourceMapURL()
URL of source map associated with the stylesheet (if any).
-
getOrigin
public StyleSheetOrigin getOrigin()
Stylesheet origin.
-
getTitle
public java.lang.String getTitle()
Stylesheet title.
-
getOwnerNode
public BackendNodeId getOwnerNode()
The backend id for the owner node of the stylesheet.
-
getDisabled
public java.lang.Boolean getDisabled()
Denotes whether the stylesheet is disabled.
-
getHasSourceURL
public java.lang.Boolean getHasSourceURL()
Whether the sourceURL field value comes from the sourceURL comment.
-
getIsInline
public java.lang.Boolean getIsInline()
Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
-
getStartLine
public java.lang.Number getStartLine()
Line offset of the stylesheet within the resource (zero based).
-
getStartColumn
public java.lang.Number getStartColumn()
Column offset of the stylesheet within the resource (zero based).
-
getLength
public java.lang.Number getLength()
Size of the content (in characters).
-
-