Class RelativeSelector

All Implemented Interfaces:
Serializable, Locatable, Selector

public class RelativeSelector extends AbstractSelector
Author:
Ronald Brill
See Also:
  • Constructor Details

    • RelativeSelector

      public RelativeSelector(Combinator combinator, Selector selector)
      Ctor.
      Parameters:
      combinator - the combinator to use
      selector - the selector
  • Method Details

    • getSelector

      public Selector getSelector()
      Returns:
      the containing selector
    • getSelectorType

      public Selector.SelectorType getSelectorType()
      Description copied from interface: Selector

      getSelectorType.

      Returns:
      the associated selector type
    • getCombinator

      public Combinator getCombinator()
      Returns:
      the combinator
    • getSimpleSelector

      public SimpleSelector getSimpleSelector()
      Description copied from interface: Selector

      getSimpleSelector.

      Returns:
      the simple selector part
    • toString

      public String toString()
      Overrides:
      toString in class Object