java.io.Serializablepublic class KeyDefinitionSet
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
KeyDefinitionSet(StructuredQName keyName,
int keySetNumber) |
Create a key definition set for keys sharing a given name
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addKeyDefinition(KeyDefinition keyDef) |
Add a key definition to this set of key definitions.
|
java.util.List |
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
|
public KeyDefinitionSet(StructuredQName keyName, int keySetNumber)
keyName - the name of the key definitions in this setkeySetNumber - a unique number identifying this key definition setpublic void addKeyDefinition(KeyDefinition keyDef) throws XPathException
keyDef - the key definition to be addedXPathException - if the key definition uses a different collation from others in the setpublic StructuredQName getKeyName()
public int getKeySetNumber()
public java.util.List getKeyDefinitions()
public boolean isBackwardsCompatible()