|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a field activator. The field activator is responsible for activating fields within a specific scope; the caller merely requests the fields to be activated.
Method Summary | |
XPathMatcher |
activateField(Field field,
int initialDepth)
Request to activate the specified field. |
void |
endValueScopeFor(IdentityConstraint identityConstraint,
int initialDepth)
Ends the value scope for the specified identity constraint. |
java.lang.Boolean |
mayMatch(Field field)
Returns whether the given field is permitted to match a value. |
void |
setMayMatch(Field field,
java.lang.Boolean state)
Sets whether the given field is permitted to match a value. |
void |
startValueScopeFor(IdentityConstraint identityConstraint,
int initialDepth)
Start the value scope for the specified identity constraint. |
Method Detail |
public void startValueScopeFor(IdentityConstraint identityConstraint, int initialDepth)
identityConstraint
- The identity constraint.initialDepth
- the depth at which the selector began matchingpublic XPathMatcher activateField(Field field, int initialDepth)
field
- The field to activate.initialDepth
- the 0-indexed depth in the instance document at which the Selector began to match.public void setMayMatch(Field field, java.lang.Boolean state)
field
- The field that may be permitted to be matched.state
- Boolean indiciating whether the field may be matched.public java.lang.Boolean mayMatch(Field field)
field
- The field that may be permitted to be matched.public void endValueScopeFor(IdentityConstraint identityConstraint, int initialDepth)
identityConstraint
- The identity constraint.initialDepth
- the 0-indexed depth where the Selector began to match.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |