|Constructor and Description|
|Modifier and Type||Method and Description|
Add a RefSelectorWatch to support a keyRef that refers to this key or unique constraints
Method to check that a row (that is, the collection of fields corresponding to one selected node) is valid.
addFieldValue, close, displayRow, endSelectedParentNode, getIdentityConstraint, reportValidationError, reportValidationError, startSelectedParentNode
getAnchorNode, getNamespaceResolver, getPipelineConfiguration, getSelection, notifySelectedLeafNode, open, setAnchorNode, setNamespaceResolver, setPipelineConfiguration, setSelection
public void addKeyRef(RefSelectorWatch watch)
watch- the RefSelectorWatch which needs to be notified of all values encountered for this key
protected void checkRow(AtomicSequence currentRow, boolean isTarget, int locationId) throws ValidationException
currentRow- the values of the set of fields
isTarget- set to true if this is a value of the key referred to by a key reference, rather than a value for this constraint's own selected fields.
locationId- identifies the location of the selected node
ValidationException- May be raised if the value of the row (that is, the combination of fields) violates the constraint
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.