public class RefSelectorWatch extends SelectorWatch
| Constructor and Description |
|---|
RefSelectorWatch(ConstraintChecker checker,
KeyRef constraint)
Create a watch for values that might satisfy a keyref constraint
|
| Modifier and Type | Method and Description |
|---|---|
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(AtomicSequence[] keyValue,
int locationId)
Notify a value selected by this KeyRef
|
addFieldValue, checkRow, displayRow, endSelectedParentNode, getIdentityConstraint, reportValidationError, reportValidationError, startSelectedParentNodegetAnchorNode, getNamespaceResolver, getPipelineConfiguration, getSelection, notifySelectedLeafNode, open, setAnchorNode, setNamespaceResolver, setPipelineConfiguration, setSelectionpublic RefSelectorWatch(ConstraintChecker checker, KeyRef constraint)
checker - the ConstraintChecker that initiated this watchconstraint - the constraint being checkedpublic void notifyActualKey(AtomicSequence[] 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 valuesValidationExceptionpublic void close()
throws ValidationException
close in interface Watchclose in class SelectorWatchValidationExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.