public static class Selector.LinkSelector extends Selector.AbstractSelector
Selector.AbstractSelector, Selector.ChildOrParentSelector, Selector.ChildOrParentSelectorType, Selector.GeneralSelector, Selector.LinkSelector, Selector.OptimizedGeneralSelectorconds| Constructor and Description |
|---|
LinkSelector(java.util.List<Condition> conditions) |
| Modifier and Type | Method and Description |
|---|---|
Range |
getRange() |
java.lang.String |
getSubpart() |
boolean |
matches(Environment env)
Determines if all conditions match the given environment.
|
Selector |
optimizedBaseCheck()
Create an "optimized" copy of this selector that omits the base check.
|
java.lang.String |
toString() |
getConditionspublic LinkSelector(java.util.List<Condition> conditions)
public boolean matches(Environment env)
Selector.AbstractSelectormatches in interface Selectormatches in class Selector.AbstractSelectorenv - The environment to checktrue if all conditions apply, false otherwise.public java.lang.String getSubpart()
public Selector optimizedBaseCheck()
Selectorpublic java.lang.String toString()
toString in class java.lang.Object