net.sf.saxon.trans
Class KeyDefinition

java.lang.Object
  extended bynet.sf.saxon.trans.KeyDefinition
All Implemented Interfaces:
java.io.Serializable

public class KeyDefinition
extends java.lang.Object
implements java.io.Serializable

Corresponds to a single key definition.

Author:
Serialized Form

Constructor Summary
KeyDefinition(Pattern match, Expression use, java.text.Collator collation)
          Constructor to create a key definition
 
Method Summary
 java.text.Collator getCollation()
          Get the collation.
 Pattern getMatch()
          Get the match pattern for the key definition
 Expression getUse()
          Get the use expression for the key definition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyDefinition

public KeyDefinition(Pattern match,
                     Expression use,
                     java.text.Collator collation)
Constructor to create a key definition

Method Detail

getMatch

public Pattern getMatch()
Get the match pattern for the key definition

Returns:
the pattern specified in the "match" attribute of the xsl:key declaration

getUse

public Expression getUse()
Get the use expression for the key definition

Returns:
the expression specified in the "use" attribute of the xsl:key declaration

getCollation

public java.text.Collator getCollation()
Get the collation.

Returns:
the collation