public class KeyDefinitionSet extends Object implements Serializable
Constructor and Description |
---|
KeyDefinitionSet(StructuredQName keyName,
int keySetNumber)
Create a key definition set for keys sharing a given name
|
Modifier and Type | Method and Description |
---|---|
void |
addKeyDefinition(KeyDefinition keyDef)
Add a key definition to this set of key definitions.
|
String |
getCollationName()
Get the name of the collation used for this key
|
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()
Ask if the keys are to be evaluated in backwards compatible mode
|
boolean |
isRangeKey()
Ask if this is a range key
|
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 String getCollationName()
public int getKeySetNumber()
public List<KeyDefinition> getKeyDefinitions()
public boolean isBackwardsCompatible()
public boolean isRangeKey()
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.