All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.Selection

com.kvisco.xsl.XSLObject
   |
   +----com.kvisco.xsl.Selection

public class Selection
extends XSLObject
Represents a Basic XSL Selection Object. xsl:if, xsl:apply-templates, xsl:for-each

Author:
Keith Visco

Constructor Index

 o Selection(XSLStylesheet, short)

Method Index

 o getSelectExpr()
 o getSortElements()
Returns an Array of any XSLSort elements for this Selection.
Only xsl:apply-templates or xsl:for-each can have xsl:sort elements
 o selectNodes(Node, ProcessorState)
Selects all nodes that match this Selection's SelectExpr using the given context node and ids.

Constructors

 o Selection
 public Selection(XSLStylesheet parentStylesheet,
                  short type)

Methods

 o getSelectExpr
 public SelectExpr getSelectExpr()
Returns:
the SelectExpr of this Selection
 o getSortElements
 public XSLSort[] getSortElements()
Returns an Array of any XSLSort elements for this Selection.
Only xsl:apply-templates or xsl:for-each can have xsl:sort elements

 o selectNodes
 public NodeSet selectNodes(Node context,
                            ProcessorState ps) throws InvalidExprException
Selects all nodes that match this Selection's SelectExpr using the given context node and ids.

Parameters:
context - the Node context for evaluate the SelectExpr with
idRefs - the ID reference table to resolve IDExpr(s)

All Packages  Class Hierarchy  This Package  Previous  Next  Index