All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.AxisIdentifier

com.kvisco.xsl.AxisIdentifier

public class AxisIdentifier
Axis Identifier Functions

Author:
Keith Visco

Constructor Index

 o AxisIdentifier()

Method Index

 o fromAncestors(MatchExpr, Node, ProcessorState)
Selects all the Ancestors of the context node that match the given MatchExpr
 o fromAncestorsOrSelf(MatchExpr, Node, ProcessorState)
Selects all the Ancestors of the context node, including the context node that match the given MatchExpr
 o fromAttributes(MatchExpr, Node, ProcessorState)
Selects all the attributes of the context node that match the given MatchExpr
 o fromChildren(MatchExpr, Node, ProcessorState)
Selects all the children of the context node that match the given MatchExpr
 o fromDescendants(MatchExpr, Node, ProcessorState)
Selects all the descendants of the context node that match the given MatchExpr
 o fromDescendantsOrSelf(MatchExpr, Node, ProcessorState)
Selects all the descendants of the context node, including the context node, that match the given MatchExpr
 o fromFollowing(MatchExpr, Node, ProcessorState)
Selects all the following nodes of the context node that match the given MatchExpr
 o fromFollowingSiblings(MatchExpr, Node, ProcessorState)
Selects all the following siblings of the context node that match the given MatchExpr
 o fromParent(MatchExpr, Node, ProcessorState)
Selects the parent of the context node if it matches the given MatchExpr
 o fromPreceding(MatchExpr, Node, ProcessorState)
Selects all the preceding siblings, in reverse document order, of the context node that match the given MatchExpr
 o fromPrecedingSiblings(MatchExpr, Node, ProcessorState)
Selects all the preceding nodes, in reverse document order, of the context node that match the given MatchExpr
 o fromSelf(MatchExpr, Node, ProcessorState)
Selects the the context node if it matches the given MatchExpr

Constructors

 o AxisIdentifier
 public AxisIdentifier()

Methods

 o fromAncestors
 public static NodeSet fromAncestors(MatchExpr matchExpr,
                                     Node context,
                                     ProcessorState ps) throws InvalidExprException
Selects all the Ancestors of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the ancestors of the context node that match the given MatchExpr
 o fromAncestorsOrSelf
 public static NodeSet fromAncestorsOrSelf(MatchExpr matchExpr,
                                           Node context,
                                           ProcessorState ps) throws InvalidExprException
Selects all the Ancestors of the context node, including the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the ancestors of the context node and including the context node, that match the given MatchExpr
 o fromAttributes
 public static NodeSet fromAttributes(MatchExpr matchExpr,
                                      Node context,
                                      ProcessorState ps) throws InvalidExprException
Selects all the attributes of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the attributes of the context node that match the given MatchExpr
 o fromChildren
 public static NodeSet fromChildren(MatchExpr matchExpr,
                                    Node context,
                                    ProcessorState ps) throws InvalidExprException
Selects all the children of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the children of the context node that match the given MatchExpr
 o fromDescendants
 public static NodeSet fromDescendants(MatchExpr matchExpr,
                                       Node context,
                                       ProcessorState ps) throws InvalidExprException
Selects all the descendants of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the descendants of the context node that match the given MatchExpr
Note this could be an expensive operation
 o fromDescendantsOrSelf
 public static NodeSet fromDescendantsOrSelf(MatchExpr matchExpr,
                                             Node context,
                                             ProcessorState ps) throws InvalidExprException
Selects all the descendants of the context node, including the context node, that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the descendants of the context node, including the context node, that match the given MatchExpr
Note this could be an expensive operation
 o fromFollowing
 public static NodeSet fromFollowing(MatchExpr matchExpr,
                                     Node context,
                                     ProcessorState ps) throws InvalidExprException
Selects all the following nodes of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the following nodes of the context node that match the given MatchExpr
Note this could be an expensive operation
 o fromFollowingSiblings
 public static NodeSet fromFollowingSiblings(MatchExpr matchExpr,
                                             Node context,
                                             ProcessorState ps) throws InvalidExprException
Selects all the following siblings of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the following siblings of the context node that match the given MatchExpr
 o fromParent
 public static NodeSet fromParent(MatchExpr matchExpr,
                                  Node context,
                                  ProcessorState ps) throws InvalidExprException
Selects the parent of the context node if it matches the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing the parent of the context node if it matches the given MatchExpr
 o fromPreceding
 public static NodeSet fromPreceding(MatchExpr matchExpr,
                                     Node context,
                                     ProcessorState ps) throws InvalidExprException
Selects all the preceding siblings, in reverse document order, of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the preceding siblings of the context node that match the given MatchExpr
 o fromPrecedingSiblings
 public static NodeSet fromPrecedingSiblings(MatchExpr matchExpr,
                                             Node context,
                                             ProcessorState ps) throws InvalidExprException
Selects all the preceding nodes, in reverse document order, of the context node that match the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing all the preceding nodes of the context node (in reverse document order) that match the given MatchExpr
 o fromSelf
 public static NodeSet fromSelf(MatchExpr matchExpr,
                                Node context,
                                ProcessorState ps) throws InvalidExprException
Selects the the context node if it matches the given MatchExpr

Parameters:
the - MatchExpr to evaluate
context - the Node to start matching from
ps - the current ProcessorState
Returns:
a NodeSet containing the context node if it matches the given MatchExpr

All Packages  Class Hierarchy  This Package  Previous  Next  Index