Class CssMediaRuleNode

    • Constructor Detail

      • CssMediaRuleNode

        public CssMediaRuleNode()
        Constructor of a media rule.
      • CssMediaRuleNode

        public CssMediaRuleNode​(java.util.List<CssCommentNode> comments)
        Constructor of a media rule.
      • CssMediaRuleNode

        public CssMediaRuleNode​(java.util.List<CssCommentNode> comments,
                                CssBlockNode block)
        Constructor of a media rule.
      • CssMediaRuleNode

        public CssMediaRuleNode​(CssMediaRuleNode node)
        Copy constructor.
        Parameters:
        node - node
    • Method Detail

      • setChunk

        public void setChunk​(java.lang.Object chunk)
        Description copied from interface: ChunkAware
        Sets the chunk id on the node.
        Specified by:
        setChunk in interface ChunkAware
        Parameters:
        chunk - an object identifying a chunk
      • getChunk

        public java.lang.Object getChunk()
        Description copied from interface: ChunkAware
        Gets the chunk id of the node.
        Specified by:
        getChunk in interface ChunkAware
        Returns:
        the chunk id or null if no chunk id was previously set