|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selector
Nested Class Summary | |
---|---|
static class |
Selector.ChildOrParentSelector
Represents a child selector or a parent selector. |
static class |
Selector.GeneralSelector
|
static class |
Selector.LinkSelector
|
Method Summary | |
---|---|
Range |
getRange()
|
java.lang.String |
getSubpart()
|
boolean |
matches(Environment env)
Apply the selector to the primitive and check if it matches. |
Method Detail |
---|
boolean matches(Environment env)
env
- 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.
java.lang.String getSubpart()
Range getRange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |