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 Locator
getLocator()
void
setLocator(Locator locator)
Set the locator.
-
-
-
Field Detail
-
locator_
private Locator locator_
-
-
Method Detail
-
getLocator
public Locator getLocator()
- Specified by:
getLocator
in interfaceLocatable
- Returns:
- the locator
-
setLocator
public void setLocator(Locator locator)
Description copied from interface:Locatable
Set the locator.- Specified by:
setLocator
in interfaceLocatable
- Parameters:
locator
- the new locator
-
-