Class DirectAdjacentSelectorImpl

    • Constructor Detail

      • DirectAdjacentSelectorImpl

        public DirectAdjacentSelectorImpl​(short nodeType,
                                          Selector child,
                                          SimpleSelector directAdjacent)
    • Method Detail

      • getNodeType

        public short getNodeType()
        Description copied from interface: SiblingSelector
        The node type to considered in the siblings list. All DOM node types are supported. In order to support the "any" node type, the code ANY_NODE is added to the DOM node types.
        Specified by:
        getNodeType in interface SiblingSelector
      • getSelectorType

        public short getSelectorType()
        Description copied from interface: Selector
        An integer indicating the type of Selector
        Specified by:
        getSelectorType in interface Selector
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object