Package org.htmlunit.cssparser.parser
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 Summary
Constructors Constructor Description AbstractLocatable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatorgetLocator()getLocator.voidsetLocator(Locator locator)Set the locator.
-
-
-
Method Detail
-
getLocator
public Locator getLocator()
getLocator.
- Specified by:
getLocatorin interfaceLocatable- Returns:
- the locator
-
setLocator
public void setLocator(Locator locator)
Set the locator.- Specified by:
setLocatorin interfaceLocatable- Parameters:
locator- the new locator
-
-