org.exolab.adaptx.xslt
Class XSLSort

java.lang.Object
  extended by org.exolab.adaptx.xslt.XSLObject
      extended by org.exolab.adaptx.xslt.XSLSort

public class XSLSort
extends XSLObject

Represents an xsl:sort element

Version:
$Revision: 4320 $ $Date: 2004-04-19 20:27:09 -0400 (Mon, 19 Apr 2004) $
Author:
Keith Visco

Field Summary
static java.lang.String ASCENDING_ORDER
          The ascending order value
static java.lang.String CASE_ORDER_ATTR
          The case-order attribute
static java.lang.String DATA_TYPE_ATTR
          The data-type attribute
static java.lang.String DESCENDING_ORDER
          The descending order value
static java.lang.String LANG_ATTR
          The lang attribute
static java.lang.String NUMBER_TYPE
          The number data-type value
static java.lang.String ORDER_ATTR
          The order attribute
static java.lang.String SELECT_ATTR
          The select attribute
static java.lang.String TEXT_TYPE
          The text data-type value
 
Fields inherited from class org.exolab.adaptx.xslt.XSLObject
APPLY_IMPORTS, APPLY_TEMPLATES, ARG, ATTRIBUTE, ATTRIBUTE_SET, CALL_TEMPLATE, CDATA, CHOOSE, COMMENT, CONTENTS, COPY, COPY_OF, ELEMENT, ENTITY_REF, FOR_EACH, FUNCTIONS, ID, IF, IMPORT, INCLUDE, KEY, LITERAL, LOCALE, MESSAGE, NUMBER, OTHERWISE, OUTPUT, PARAM, PI, PRESERVE_SPACE, SCRIPT, SORT, STRIP_SPACE, STYLESHEET, TEMPLATE, TEXT, VALUE_OF, VARIABLE, WHEN, WITH_PARAM
 
Constructor Summary
XSLSort()
          Creates a new XSLSort
 
Method Summary
 XPathExpression getSelectExpr()
          Retrieves the selectExpr for this XSLSort.
 void setAttribute(java.lang.String name, java.lang.String value)
          Sets the attribute with the given name to the given value.
 void setSelectExpr(XPathExpression selectExpr)
          sets the SelectExpr for this XSLSort
 
Methods inherited from class org.exolab.adaptx.xslt.XSLObject
addNamespaceDecl, appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNamespace, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setNamespace, setTypeName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CASE_ORDER_ATTR

public static final java.lang.String CASE_ORDER_ATTR
The case-order attribute

See Also:
Constant Field Values

DATA_TYPE_ATTR

public static final java.lang.String DATA_TYPE_ATTR
The data-type attribute

See Also:
Constant Field Values

LANG_ATTR

public static final java.lang.String LANG_ATTR
The lang attribute

See Also:
Constant Field Values

ORDER_ATTR

public static final java.lang.String ORDER_ATTR
The order attribute

See Also:
Constant Field Values

SELECT_ATTR

public static final java.lang.String SELECT_ATTR
The select attribute

See Also:
Constant Field Values

ASCENDING_ORDER

public static final java.lang.String ASCENDING_ORDER
The ascending order value

See Also:
Constant Field Values

DESCENDING_ORDER

public static final java.lang.String DESCENDING_ORDER
The descending order value

See Also:
Constant Field Values

NUMBER_TYPE

public static final java.lang.String NUMBER_TYPE
The number data-type value

See Also:
Constant Field Values

TEXT_TYPE

public static final java.lang.String TEXT_TYPE
The text data-type value

See Also:
Constant Field Values
Constructor Detail

XSLSort

public XSLSort()
Creates a new XSLSort

Method Detail

getSelectExpr

public XPathExpression getSelectExpr()
                              throws XPathException
Retrieves the selectExpr for this XSLSort.

Throws:
XPathException

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
                  throws XSLException
Description copied from class: XSLObject
Sets the attribute with the given name to the given value.

Overrides:
setAttribute in class XSLObject
Parameters:
name - the name of the attribute to set
value - the value to set the attribute to
Throws:
XSLException - if this XSLObject does not allow attributes with the given name, or if the attribute is read only

setSelectExpr

public void setSelectExpr(XPathExpression selectExpr)
sets the SelectExpr for this XSLSort