Class ElementSelector
java.lang.Object
org.htmlunit.cssparser.parser.AbstractLocatable
org.htmlunit.cssparser.parser.selector.AbstractSelector
org.htmlunit.cssparser.parser.selector.ElementSelector
- All Implemented Interfaces:
Serializable, Locatable, Selector, SimpleSelector
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Selector
Selector.SelectorType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCondition(Condition condition) Add a condition.toString()Methods inherited from class AbstractSelector
getSelectorSpecificityMethods inherited from class AbstractLocatable
getLocator, setLocatorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Locatable
getLocator, setLocatorMethods inherited from interface Selector
getSelectorSpecificity
-
Field Details
-
localName_
-
localNameLC_
-
conditions_
-
-
Constructor Details
-
ElementSelector
-
-
Method Details
-
getSelectorType
- Specified by:
getSelectorTypein interfaceSelector- Returns:
- the associated selector type
-
getSimpleSelector
- Specified by:
getSimpleSelectorin interfaceSelector- Returns:
- the simple selector part
-
getLocalName
- Returns:
- the local name
-
getLocalNameLowerCase
- Returns:
- the local name in lowercase
-
getElementName
- Returns:
- the element name
-
getConditions
-
addCondition
Add a condition.- Parameters:
condition- the condition to be added
-
toString
-