|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xsl.process.SortKey
A sort key corresponding to an xsl:sort element.
| Constructor Summary | |
SortKey(Expression select,
Expression orderExpr,
Expression langExpr,
Expression dataTypeExpr,
Expression caseOrderExpr)
Constructs a sort key. |
|
| Method Summary | |
void |
dump(PrintWriter out,
int indent)
Dumps this object to the specified output stream. |
Expression |
getCaseOrderExpr()
Returns the string expression specifying whether upper-case or lower-case characters sort first; null means use a language-dependent
default. |
Expression |
getDataTypeExpr()
Returns the string expression specifying the data type of the sort keys; null means the sort keys are text. |
Expression |
getLangExpr()
Returns the string expression specifying the language of the sort keys; null means the language is determined from the system
environment. |
Expression |
getOrderExpr()
Returns the string expression specifying whether the keys should be sorted in ascending or descending order; null means
ascending order. |
Expression |
getSelect()
Returns the select pattern to be evaluated to obtain the sort key value; null means select the current node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SortKey(Expression select,
Expression orderExpr,
Expression langExpr,
Expression dataTypeExpr,
Expression caseOrderExpr)
select - the select expression to be evaluated to obtain the
sort key value; null means use
"."orderExpr - a string expression specifying whether the keys
should be sorted in ascending or descending order;
should evaluate to "ascending" or
"descending"; null means
use "ascending"langExpr - a string expression specifying the language of the
sort keys; should evaluate to a legal
xml:lang value; null means
determine the language from the system environmentdataTypeExpr - a string expression specifying the data type of the
sort keys; should evaluate to "text" or
"number"; null means use
"text"caseOrderExpr - a string expression specifying whether upper-case or
lower-case characters sort first; ignored if the
data type is not "text"; should
evaluate to "upper-first" or
"lower-first"; null means
use a language-dependent default| Method Detail |
public Expression getSelect()
null means select the current node.
public Expression getOrderExpr()
null means
ascending order.
public Expression getLangExpr()
null means the language is determined from the system
environment.
public Expression getDataTypeExpr()
null means the sort keys are text.
public Expression getCaseOrderExpr()
null means use a language-dependent
default.
public void dump(PrintWriter out,
int indent)
out - the output stream to write toindent - number of tabs to indent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||