Class CSSStyleSheetHeader
- java.lang.Object
-
- org.openqa.selenium.devtools.v95.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.util.Optional<java.lang.String> sourceMapURL, StyleSheetOrigin origin, java.lang.String title, java.util.Optional<BackendNodeId> ownerNode, java.lang.Boolean disabled, java.util.Optional<java.lang.Boolean> hasSourceURL, java.lang.Boolean isInline, java.lang.Boolean isMutable, java.lang.Boolean isConstructed, java.lang.Number startLine, java.lang.Number startColumn, java.lang.Number length, java.lang.Number endLine, java.lang.Number endColumn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getDisabled()
Denotes whether the stylesheet is disabled.java.lang.Number
getEndColumn()
Column offset of the end of the stylesheet within the resource (zero based).java.lang.Number
getEndLine()
Line offset of the end of the stylesheet within the resource (zero based).FrameId
getFrameId()
Owner frame identifier.java.util.Optional<java.lang.Boolean>
getHasSourceURL()
Whether the sourceURL field value comes from the sourceURL comment.java.lang.Boolean
getIsConstructed()
True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.java.lang.Boolean
getIsInline()
Whether this stylesheet is created for STYLE tag by parser.java.lang.Boolean
getIsMutable()
Whether this stylesheet is mutable.java.lang.Number
getLength()
Size of the content (in characters).StyleSheetOrigin
getOrigin()
Stylesheet origin.java.util.Optional<BackendNodeId>
getOwnerNode()
The backend id for the owner node of the stylesheet.java.util.Optional<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.util.Optional<java.lang.String> sourceMapURL, StyleSheetOrigin origin, java.lang.String title, java.util.Optional<BackendNodeId> ownerNode, java.lang.Boolean disabled, java.util.Optional<java.lang.Boolean> hasSourceURL, java.lang.Boolean isInline, java.lang.Boolean isMutable, java.lang.Boolean isConstructed, java.lang.Number startLine, java.lang.Number startColumn, java.lang.Number length, java.lang.Number endLine, java.lang.Number endColumn)
-
-
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. Empty if this is a constructed stylesheet created using new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported as a CSS module script).
-
getSourceMapURL
public java.util.Optional<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 java.util.Optional<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.util.Optional<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.
-
getIsMutable
public java.lang.Boolean getIsMutable()
Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
-
getIsConstructed
public java.lang.Boolean getIsConstructed()
True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.
-
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).
-
getEndLine
public java.lang.Number getEndLine()
Line offset of the end of the stylesheet within the resource (zero based).
-
getEndColumn
public java.lang.Number getEndColumn()
Column offset of the end of the stylesheet within the resource (zero based).
-
-