Class 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.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 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.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.
      • getSourceMapURL

        public java.util.Optional<java.lang.String> getSourceMapURL()
        URL of source map associated with the stylesheet (if any).
      • 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 are never mutable. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
      • 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).