public static class Selector.LinkSelector extends Selector.AbstractSelector
Selector.AbstractSelector, Selector.ChildOrParentSelector, Selector.GeneralSelector, Selector.LinkSelectorconds| Constructor and Description |
|---|
LinkSelector(List<Condition> conditions) |
| Modifier and Type | Method and Description |
|---|---|
Range |
getRange() |
String |
getSubpart() |
boolean |
matches(Environment env)
Apply the selector to the primitive and check if it matches.
|
String |
toString() |
matchesConditionspublic LinkSelector(List<Condition> conditions)
public boolean matches(Environment env)
Selectorenv - the Environment. env.mc and env.layer are read-only when matching a selector.
env.source is not needed. This method will set the matchingReferrers field of env as
a side effect! Make sure to clear it before invoking this method.public String getSubpart()