public static class Selector.LinkSelector extends Selector.AbstractSelector
Selector.AbstractSelector, Selector.ChildOrParentSelector, Selector.ChildOrParentSelectorType, Selector.GeneralSelector, Selector.LinkSelector, Selector.OptimizedGeneralSelector
conds
Constructor and Description |
---|
Selector.LinkSelector(java.util.List<Condition> conditions) |
Modifier and Type | Method and Description |
---|---|
Range |
getRange() |
Subpart |
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() |
getConditions
public Selector.LinkSelector(java.util.List<Condition> conditions)
public boolean matches(Environment env)
Selector.AbstractSelector
matches
in interface Selector
matches
in class Selector.AbstractSelector
env
- The environment to checktrue
if all conditions apply, false otherwise.public Subpart getSubpart()
public Selector optimizedBaseCheck()
Selector
public java.lang.String toString()
toString
in class java.lang.Object