All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.ElementExpr

com.kvisco.xsl.ElementExpr

public class ElementExpr
implements NodeExpr
Represents an ElementExpr

Author:
Keith Visco (kvisco@ziplink.net)

Constructor Index

 o ElementExpr(String)

Method Index

 o evaluate(Node, ProcessorState)
Evaluates this Expr using the given context Node and ProcessorState
 o getExprType()
 o getName()
 o getNodeExprType()
Returns the type of this NodeExpr
 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 ElementExpr
 public ElementExpr(String name)

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 getName
 public String getName()
 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