|Constructor and Description|
Create a watch for values that might satisfy a keyref constraint
|Modifier and Type||Method and Description|
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.
Notify a value selected by this KeyRef
addFieldValue, checkRow, endSelectedParentNode, getIdentityConstraint, reportValidationError, startSelectedParentNode
getAnchorNode, getSelection, matchesNode, matchesNodesOfKind, open, processItem, setAnchorNode, setSelection
getNamespaceResolver, getPipelineConfiguration, getReceiver, setNamespaceResolver, setPipelineConfiguration
public void notifyActualKey(AtomicSequence keyValue, Location locationId) throws ValidationException
keyValue- an array holding the components (fields) making up the keyref value
locationId- the location of the node containing the keyref values
ValidationException- if the value is invalid for example a duplicate
public void close() throws ValidationException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.