Class AbstractLocatable

java.lang.Object
org.htmlunit.cssparser.parser.AbstractLocatable
All Implemented Interfaces:
Locatable
Direct Known Subclasses:
AbstractCSSRuleImpl, AbstractSelector, AttributeCondition, ClassCondition, CSSValueImpl, IdCondition, LangCondition, LexicalUnitImpl, MediaListImpl, MediaQuery, MediaQueryList, NotPseudoClassCondition, Property, PseudoClassCondition, SelectorListImpl

public class AbstractLocatable extends Object implements Locatable
Abstract base class of all locatables.
Author:
Ronald Brill
  • Constructor Details

    • AbstractLocatable

      public AbstractLocatable()
  • Method Details

    • getLocator

      public Locator getLocator()

      getLocator.

      Specified by:
      getLocator in interface Locatable
      Returns:
      the locator
    • setLocator

      public void setLocator(Locator locator)
      Set the locator.
      Specified by:
      setLocator in interface Locatable
      Parameters:
      locator - the new locator