net.sf.saxon.trans
public class KeyDefinition extends Procedure implements Serializable, InstructionInfoProvider
| Constructor Summary | |
|---|---|
| KeyDefinition(Pattern match, Expression use, String collationName, Comparator collation)
Constructor to create a key definition | |
| Method Summary | |
|---|---|
| Comparator | getCollation()
Get the collation. |
| String | getCollationName()
Get the collation name for this key definition. |
| InstructionInfo | getInstructionInfo()
Get the InstructionInfo details about the construct. |
| Pattern | getMatch()
Get the match pattern for the key definition |
| Expression | getUse()
Get the use expression for the key definition |
| boolean | isBackwardsCompatible()
Test backwards compatibility mode |
| void | setBackwardsCompatible(boolean bc)
Set backwards compatibility mode. |
| void | setLocation(String systemId, int lineNumber)
Set the system Id and line number of the source xsl:key definition |
| void | setStackFrameMap(SlotManager map)
Set the map of local variables needed while evaluating the "use" expression |
Parameters: match the pattern in the xsl:key match attribute use the expression in the xsl:key use attribute, or the expression that results from compiling the xsl:key contained instructions collationName the name of the collation being used collation the actual collation. This must be one that supports generation of collation keys.
Returns: the collation
Returns: the collation name (the collation URI)
Returns: the pattern specified in the "match" attribute of the xsl:key declaration
Returns: the expression specified in the "use" attribute of the xsl:key declaration