com.caucho.xsl
Class Sort

java.lang.Object
  extended by com.caucho.xsl.Sort

public class Sort
extends java.lang.Object


Field Summary
static int LOWER_FIRST
           
static int NO_CASE_ORDER
           
static int UPPER_FIRST
           
 
Constructor Summary
Sort(java.lang.String expr, java.lang.String isAscending, boolean isText)
           
Sort(java.lang.String expr, java.lang.String isAscending, java.lang.String lang)
           
Sort(java.lang.String expr, java.lang.String isAscending, java.lang.String lang, java.lang.String caseOrder)
           
 
Method Summary
static Sort create(Expr expr, Expr isAscending, boolean isText)
           
static Sort create(Expr expr, Expr isAscending, Expr lang)
           
 Expr getAscending()
           
 Expr getCaseOrder()
          Gets the case order.
 Expr getExpr()
           
 Expr getLang()
           
 boolean isText()
           
 void setCaseOrder(Expr caseOrder)
          Sets the case order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_CASE_ORDER

public static final int NO_CASE_ORDER
See Also:
Constant Field Values

UPPER_FIRST

public static final int UPPER_FIRST
See Also:
Constant Field Values

LOWER_FIRST

public static final int LOWER_FIRST
See Also:
Constant Field Values
Constructor Detail

Sort

public Sort(java.lang.String expr,
            java.lang.String isAscending,
            boolean isText)
     throws XPathParseException
Throws:
XPathParseException

Sort

public Sort(java.lang.String expr,
            java.lang.String isAscending,
            java.lang.String lang)
     throws XPathParseException
Throws:
XPathParseException

Sort

public Sort(java.lang.String expr,
            java.lang.String isAscending,
            java.lang.String lang,
            java.lang.String caseOrder)
     throws XPathParseException
Throws:
XPathParseException
Method Detail

create

public static Sort create(Expr expr,
                          Expr isAscending,
                          boolean isText)

create

public static Sort create(Expr expr,
                          Expr isAscending,
                          Expr lang)

getExpr

public Expr getExpr()

getAscending

public Expr getAscending()

setCaseOrder

public void setCaseOrder(Expr caseOrder)
Sets the case order.


getCaseOrder

public Expr getCaseOrder()
Gets the case order.


isText

public boolean isText()

getLang

public Expr getLang()