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