net.sf.saxon.sort
public class SortKeyDefinition extends Object implements Serializable
Field Summary | |
---|---|
protected String | baseURI |
protected Expression | caseOrder |
protected Comparator | collation |
protected Expression | collationName |
protected Expression | dataTypeExpression |
protected boolean | emptyLeast |
protected Expression | language |
protected Expression | order |
protected Container | parentExpression |
protected Expression | sortKey |
Method Summary | |
---|---|
String | getBaseURI() |
Expression | getCaseOrder() |
Comparator | getCollation() |
Expression | getCollationName() |
Expression | getDataTypeExpression() |
boolean | getEmptyLeast() |
Expression | getLanguage() |
Expression | getOrder() |
Container | getParentExpression() |
Expression | getSortKey()
Get the expression used as the sort key |
FixedSortKeyDefinition | reduce(XPathContext context)
Evaluate any aspects of the sort definition that were specified as AVTs, for example
ascending/descending, language, case-order, data-type. |
void | setBaseURI(String baseURI) |
void | setCaseOrder(Expression exp)
Set the case order. |
void | setCollation(Comparator collation) |
void | setCollationName(Expression collationName)
Set the collation. |
void | setDataTypeExpression(Expression exp)
Set the data type. |
void | setEmptyLeast(boolean emptyLeast)
Set whether empty sequence comes before other values or after them |
void | setLanguage(Expression exp)
Set the language. |
void | setOrder(Expression exp)
Set the order. |
void | setParentExpression(Container container) |
void | setSortKey(Expression exp)
Set the expression used as the sort key |
SortKeyDefinition | simplify(StaticContext env, Executable exec) |
Parameters: emptyLeast true if () is considered lower than any other value