|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.saxonica.validate.SelectorWatch
com.saxonica.validate.RefSelectorWatch
public class RefSelectorWatch
This class watches the selector for a keyref constraint
| Constructor Summary | |
|---|---|
RefSelectorWatch(ConstraintChecker checker,
KeyRef constraint)
Create a watch for values that might satisfy a keyref constraint |
|
| Method Summary | |
|---|---|
void |
close()
The close() method is called immediately before the Watch is destroyed, that is, when the element whose declaration scopes the constraint implemented by this Watch goes out of scope. |
void |
notifyActualKey(Value[] keyValue,
int locationId)
Notify a value selected by this KeyRef |
| Methods inherited from class com.saxonica.validate.SelectorWatch |
|---|
activate, addFieldValue, checkRow, deactivate, displayRow, getIdentityConstraint, getOriginDepth, getSelection, reportValidationError, reportValidationError, setNamespaceResolver, setOriginDepth, setPipelineConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefSelectorWatch(ConstraintChecker checker,
KeyRef constraint)
checker - the ConstraintChecker that initiated this watchconstraint - the constraint being checked| Method Detail |
|---|
public void notifyActualKey(Value[] keyValue,
int locationId)
throws ValidationException
keyValue - an array holding the components (fields) making up the keyref valuelocationId - the location of the node containing the keyref values
ValidationException
public void close()
throws ValidationException
close in interface Watchclose in class SelectorWatchValidationException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||