Class DirectAdjacentSelectorImpl

  • All Implemented Interfaces:
    org.w3c.css.sac.Selector, org.w3c.css.sac.SiblingSelector

    public class DirectAdjacentSelectorImpl
    extends java.lang.Object
    implements org.w3c.css.sac.SiblingSelector
    Version:
    $Revision: 6653 $
    Author:
    Philippe Le Hegaret
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.w3c.css.sac.Selector child  
      (package private) org.w3c.css.sac.SimpleSelector directAdjacent  
      • Fields inherited from interface org.w3c.css.sac.Selector

        SAC_ANY_NODE_SELECTOR, SAC_CDATA_SECTION_NODE_SELECTOR, SAC_CHILD_SELECTOR, SAC_COMMENT_NODE_SELECTOR, SAC_CONDITIONAL_SELECTOR, SAC_DESCENDANT_SELECTOR, SAC_DIRECT_ADJACENT_SELECTOR, SAC_ELEMENT_NODE_SELECTOR, SAC_NEGATIVE_SELECTOR, SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR, SAC_PSEUDO_ELEMENT_SELECTOR, SAC_ROOT_NODE_SELECTOR, SAC_TEXT_NODE_SELECTOR
      • Fields inherited from interface org.w3c.css.sac.SiblingSelector

        ANY_NODE
    • Constructor Summary

      Constructors 
      Constructor Description
      DirectAdjacentSelectorImpl​(org.w3c.css.sac.Selector child, org.w3c.css.sac.SimpleSelector directAdjacent)
      Creates a new DescendantSelectorImpl
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      short getNodeType()  
      org.w3c.css.sac.Selector getSelector()
      Returns the parent selector.
      short getSelectorType()
      An integer indicating the type of Selector
      org.w3c.css.sac.SimpleSelector getSiblingSelector()  
      • Methods inherited from class java.lang.Object

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

      • child

        org.w3c.css.sac.Selector child
      • directAdjacent

        org.w3c.css.sac.SimpleSelector directAdjacent
    • Constructor Detail

      • DirectAdjacentSelectorImpl

        public DirectAdjacentSelectorImpl​(org.w3c.css.sac.Selector child,
                                          org.w3c.css.sac.SimpleSelector directAdjacent)
        Creates a new DescendantSelectorImpl
    • Method Detail

      • getSelectorType

        public short getSelectorType()
        An integer indicating the type of Selector
        Specified by:
        getSelectorType in interface org.w3c.css.sac.Selector
      • getNodeType

        public short getNodeType()
        Specified by:
        getNodeType in interface org.w3c.css.sac.SiblingSelector
      • getSelector

        public org.w3c.css.sac.Selector getSelector()
        Returns the parent selector.
        Specified by:
        getSelector in interface org.w3c.css.sac.SiblingSelector
      • getSiblingSelector

        public org.w3c.css.sac.SimpleSelector getSiblingSelector()
        Specified by:
        getSiblingSelector in interface org.w3c.css.sac.SiblingSelector