Class CSSContainerQuery


  • @Beta
    public class CSSContainerQuery
    extends java.lang.Object
    CSS container query rule descriptor.
    • Constructor Summary

      Constructors 
      Constructor Description
      CSSContainerQuery​(java.lang.String text, java.util.Optional<SourceRange> range, java.util.Optional<StyleSheetId> styleSheetId, java.util.Optional<java.lang.String> name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getName()
      Optional name for the container.
      java.util.Optional<SourceRange> getRange()
      The associated rule header range in the enclosing stylesheet (if available).
      java.util.Optional<StyleSheetId> getStyleSheetId()
      Identifier of the stylesheet containing this object (if exists).
      java.lang.String getText()
      Container query text.
      • Methods inherited from class java.lang.Object

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

      • CSSContainerQuery

        public CSSContainerQuery​(java.lang.String text,
                                 java.util.Optional<SourceRange> range,
                                 java.util.Optional<StyleSheetId> styleSheetId,
                                 java.util.Optional<java.lang.String> name)
    • Method Detail

      • getText

        public java.lang.String getText()
        Container query text.
      • getRange

        public java.util.Optional<SourceRange> getRange()
        The associated rule header range in the enclosing stylesheet (if available).
      • getStyleSheetId

        public java.util.Optional<StyleSheetId> getStyleSheetId()
        Identifier of the stylesheet containing this object (if exists).
      • getName

        public java.util.Optional<java.lang.String> getName()
        Optional name for the container.