org.exolab.adaptx.xslt
Class Selection
Represents a Basic XSL Selection Object.
xsl:if, xsl:apply-templates, xsl:for-each
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:49 $
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 |
Selection(short type) - Creates a new Selection of the give type.
|
appendAction , appendText , appendText , getActions , getAttribute , getAttributes , getNearestAncestor , getNodeValue , getStylesheet , getText , getType , getTypeFromName , getTypeName , resolveNamespace , setAllowActions , setAttribute , setTypeName |
Selection
public Selection(short type)
Creates a new Selection of the give type.
type
- the type of Selection
Note: This will be changing soon.
getSelectExpr
public XPathExpression getSelectExpr()
- the SelectExpr of this Selection
getSortKeys
public XSLSort[] getSortKeys()
Returns an Array of any XSLSort elements for this Selection.
Only xsl:apply-templates or xsl:for-each can have xsl:sort elements
hasSortKeys
public boolean hasSortKeys()
Returns true if xsl:sort keys have been specified
- true if xsl:sort keys have been specified