|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.instruct.Procedure
net.sf.saxon.trans.KeyDefinition
Corresponds to a single xsl:key declaration.
Constructor Summary | |
KeyDefinition(Pattern match,
Expression use,
java.lang.String collationName,
java.util.Comparator collation)
Constructor to create a key definition |
Method Summary | |
java.util.Comparator |
getCollation()
Get the collation. |
java.lang.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(java.lang.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 |
Methods inherited from class net.sf.saxon.instruct.Procedure |
getBody, getColumnNumber, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getPublicId, getStackFrameMap, getSystemId, getSystemId, setBody, setExecutable, setHostLanguage, setLineNumber, setSystemId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyDefinition(Pattern match, Expression use, java.lang.String collationName, java.util.Comparator collation)
match
- the pattern in the xsl:key match attributeuse
- the expression in the xsl:key use attribute, or the expression that results from compiling
the xsl:key contained instructionscollationName
- the name of the collation being usedcollation
- the actual collation. This must be one that supports generation of collation keys.Method Detail |
public void setBackwardsCompatible(boolean bc)
public boolean isBackwardsCompatible()
public void setStackFrameMap(SlotManager map)
setStackFrameMap
in class Procedure
public void setLocation(java.lang.String systemId, int lineNumber)
public Pattern getMatch()
public Expression getUse()
public java.lang.String getCollationName()
public java.util.Comparator getCollation()
public InstructionInfo getInstructionInfo()
getInstructionInfo
in interface InstructionInfoProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |