All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.PIExpr

com.kvisco.xsl.PIExpr

public class PIExpr
implements NodeExpr
Represents a PIExpr

Author:
Keith Visco (kvisco@ziplink.net)

Constructor Index

 o PIExpr(String)

Method Index

 o evaluate(Node, ProcessorState)
Evaluates this Expr using the given context Node and ProcessorState
 o getExprType()
 o getNodeExprType()
Returns the type of this NodeExpr
 o getTarget()
 o matches(Node, Node, ProcessorState)
Determines if the given node is matched by this NodeExpr within the given context
 o matches(Node, Node, ProcessorState)
Determines if the given node is matched by this MatchExpr with respect to the given context node.
 o toString()
Returns the String representation of this NodeExpr

Constructors

 o PIExpr
 public PIExpr(String target)

Methods

 o toString
 public String toString()
Returns the String representation of this NodeExpr

 o evaluate
 public ExprResult evaluate(Node context,
                            ProcessorState ps) throws InvalidExprException
Evaluates this Expr using the given context Node and ProcessorState

Parameters:
context - the current context Node
ps - the ProcessorState that contains the current processing environment
Returns:
the ExprResult
 o getExprType
 public short getExprType()
 o getTarget
 public String getTarget()
 o getNodeExprType
 public short getNodeExprType()
Returns the type of this NodeExpr

Returns:
the type of this NodeExpr
 o matches
 public boolean matches(Node node,
                        Node context,
                        ProcessorState ps) throws InvalidExprException
Determines if the given node is matched by this NodeExpr within the given context


All Packages  Class Hierarchy  This Package  Previous  Next  Index