Class CssSelectorNode

    • Constructor Detail

      • CssSelectorNode

        public CssSelectorNode​(@Nullable
                               java.lang.String selectorName,
                               @Nullable
                               SourceCodeLocation sourceCodeLocation)
        Constructor of a selector node.
        Parameters:
        selectorName -
        sourceCodeLocation -
      • CssSelectorNode

        public CssSelectorNode​(java.lang.String selectorName)
        Constructor of a selector node.
        Parameters:
        selectorName -
      • CssSelectorNode

        public CssSelectorNode​(CssSelectorNode node)
        Copy-constructor of a selector node.
        Parameters:
        node -
    • Method Detail

      • setSelectorName

        public void setSelectorName​(java.lang.String selectorName)
      • getSelectorName

        public java.lang.String getSelectorName()
      • 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
      • toString

        public java.lang.String toString()
        For debugging only.
        Overrides:
        toString in class CssNode
        See Also:
        Object.toString()