net.sf.saxon.trans
public class KeyDefinitionSet extends Object implements Serializable
| Field Summary | |
|---|---|
| boolean | backwardsCompatible |
| String | collationName |
| List<KeyDefinition> | keyDefinitions |
| StructuredQName | keyName |
| int | keySetNumber |
| Constructor Summary | |
|---|---|
| KeyDefinitionSet(StructuredQName keyName, int keySetNumber)
Create a key definition set for keys sharing a given name | |
| Method Summary | |
|---|---|
| void | addKeyDefinition(KeyDefinition keyDef)
Add a key definition to this set of key definitions. |
| List<KeyDefinition> | getKeyDefinitions()
Get the key definitions in this set |
| StructuredQName | getKeyName()
Get the name of the key definitions in this set (they all share the same name) |
| int | getKeySetNumber()
Get the KeySet number. |
| boolean | isBackwardsCompatible()
Determine if the keys are to be evaluated in backwards compatible mode |
Parameters: keyName the name of the key definitions in this set keySetNumber a unique number identifying this key definition set
Parameters: keyDef the key definition to be added
Throws: XPathException if the key definition uses a different collation from others in the set
Returns: the key definitions in this set
Returns: the name of these key definitions
Returns: the unique number
Returns: true if backwards compatibility is in force for at least one of the keys in the set