Package org.exolab.adaptx.xslt
Class XSLSort
- java.lang.Object
-
- org.exolab.adaptx.xslt.XSLObject
-
- org.exolab.adaptx.xslt.XSLSort
-
public class XSLSort extends XSLObject
Represents an xsl:sort element- Version:
- $Revision: 4320 $ $Date: 2004-04-20 02:27:09 +0200 (Tue, 20 Apr 2004) $
- Author:
- Keith Visco
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ASCENDING_ORDER
The ascending order valuestatic java.lang.String
CASE_ORDER_ATTR
The case-order attributestatic java.lang.String
DATA_TYPE_ATTR
The data-type attributestatic java.lang.String
DESCENDING_ORDER
The descending order valuestatic java.lang.String
LANG_ATTR
The lang attributestatic java.lang.String
NUMBER_TYPE
The number data-type valuestatic java.lang.String
ORDER_ATTR
The order attributestatic java.lang.String
SELECT_ATTR
The select attributestatic 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
Constructors Constructor Description XSLSort()
Creates a new XSLSort
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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
-
-
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 classXSLObject
- Parameters:
name
- the name of the attribute to setvalue
- 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
-
-