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 java.lang.Object implements Locatable
Abstract base class of all locatables.
-
-
Constructor Summary
Constructors Constructor Description AbstractLocatable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatorgetLocator()voidsetLocator(Locator locator)Set the locator.
-
-
-
Field Detail
-
locator_
private Locator locator_
-
-
Method Detail
-
getLocator
public Locator getLocator()
- Specified by:
getLocatorin interfaceLocatable- Returns:
- the locator
-
setLocator
public void setLocator(Locator locator)
Description copied from interface:LocatableSet the locator.- Specified by:
setLocatorin interfaceLocatable- Parameters:
locator- the new locator
-
-